Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-02-26 14:35:17


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Benjamin Winkler
> Sent: Monday, February 26, 2007 11:21 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] [boost::any] - reference vs pointer
>
> References can not be copied. Thus, you can't make boost::any
> contain a reference (which is what mean when you write
> boost::any<double&>, I assume).

Is there some reason we aren't suggesting boost::ref? I haven't worked
with boost::any though.


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