Have you read the Concept-Based Overloadingin Eric's blog [1]? Eric uses a dispatching schema on which the Concept definition is the tag dispatcher.
Yes, I have, however, tag dispatching doesn't work with
specialization(neither
does concept-based overloading, apparently). After thinking about it more, a
simpler way is to just use conditional overloading instead, which would work
something like this:
struct advance1
{
template
This is not a good idea. The default will be checked independently of whether increment is used or not, isn't it?
It gets checked when increment gets called(at instantiation). If `is_incrementable` is false, it will cause substitution failure. Paul -- View this message in context: http://boost.2283326.n4.nabble.com/Tick-Trait-instrospection-and-concepts-li... Sent from the Boost - Dev mailing list archive at Nabble.com.