Hi, Is there neat way with MPL to implement conditional expessions without introducing aditional structures. For example:
template<typename Container>
void
foo( Container& c )
{
// pseudo code
[if ( c is reservable , i.e. has method reserve )
c.reserve( 100 );
]
...
}
Gennadiy.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
