"David Abrahams" <[EMAIL PROTECTED]> wrote > "Eric Friedman" <[EMAIL PROTECTED]> writes: > > std::set< my_variant, boost::variant_less<my_variant> > > > I had the same thought myself, though I'd be inclined to spend a > little time searching for a better name than "less", since it doesn't > really mean that. Maybe "variant_before", using type_info::before as > a precedent?
Maybe std::less<T> is a precedent too? Nearly everyone I know has written a small, little wrapper around type_info to make it useable in the associative containers (and the default std::less<T>). Dirk _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost