Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-21 11:59:36

From: "Itay Maman" <itay_maman_at_[hidden]>

> >
> > template <class T, class U>
> > whatever extract(variant<U> const&, boost::type<T>* = 0);
> >
> This Practically creates two different interfaces: Code written for GCC
> example) will not work under MSVC since all the
> "extract<T>(x);" calls will not work. (I'd be glad to stand corrected if
> this is not the case).

Then so stand.
I do this all the time and it works fine with GCC.
Why did you think it wouldn't work?

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