"Fernando Cacciola" <[EMAIL PROTECTED]> writes: >> Suppose you have a >> >> variant<mpl::list<int&, std::string&> > >> > AFAICT references are not supported by variant either. > But if it were.. > >> How do you check to see if it contains an int&? > > But extracting (or accessing, or peeking) (int&)*.
Pointers to references are illegal. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost