« Return to Thread: Overloading on concepts

Re: Overloading on concepts

by Andrew Sutton :: Rate this Message:

Reply to Author | View in Thread

> Does the boost concept checking library support overloading on  
> concepts, so
> you can have one implementation of an algorithm for random access  
> iterators,
> and another for bidirectional iterators, for example?


If nobody else responds otherwise, I'm going to say "no" based on my  
last look at the library. For the time being, you're stuck using  
traits classes to accomplish concept specialization. Of course,  
things change so I could be completely wrong. It wouldn't be the  
first time :)

Andrew Sutton
asutton@...



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: Overloading on concepts