|
Boost : |
Subject: Re: [boost] An extension to boost::variant
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-02-09 17:15:30
Chris Hamilton wrote:
> v = boost::reference_wrapper<foo>(f);
You can also write that as
v = boost::ref(f);
by the way.
> printf("%d\n", & (boost::get<boost::reference_wrapper<foo>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk