|
Boost Users : |
Subject: Re: [Boost-users] boost::variant construction,assignment
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-09 13:06:05
AMDG
Hicham Mouline wrote:
> const R* r_;
>
>
> *r_ = rhs;
>
>
> There is no operator= for variant<> it seems?
>
Sure there is, but only works for non-const variant<>s.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net