26 Feb
2007
26 Feb
'07
7:35 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Benjamin Winkler Sent: Monday, February 26, 2007 11:21 AM To: boost-users@lists.boost.org 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
, I assume).
Is there some reason we aren't suggesting boost::ref? I haven't worked with boost::any though.