Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-19 11:33:31

"Fernando Cacciola" <fernando_cacciola_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at