Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::variant construction,assignment
From: Hicham Mouline (hicham_at_[hidden])
Date: 2008-10-09 13:20:14


Thank you.
I apologize, one often fails to grasp
the obvious,

regards,

> ----- Original Message -----
> From: "Steven Watanabe" <watanabesj_at_[hidden]>
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] boost::variant construction,assignment
> Date: Thu, 09 Oct 2008 10:06:05 -0700
>
>
> 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