|
Boost : |
Subject: Re: [boost] boost::variant -- this code compiles fine -- I think it should not compile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-24 19:18:45
AMDG
Peter Foelsche wrote:
> #include <boost/variant.hpp>
>
> struct test
> {
> };
>
>
> int main(int argc, char **argv)
> { boost::variant<std::string, int, double> s;
>
> boost::get<test>(s);
>
> return 0;
> }
>
I think there's an open ticket for this.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk