Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-25 12:23:50


From: "Samuel Krempp" <krempp_at_[hidden]>
>>>BTW, my T& / const T& overloads may seem unnecessary, so I wrote a few
lines showing the issue involved
http://groups.yahoo.com/group/boost/files/format2/passing_args.cpp
(A reference to this example along with a few explanations of what it
means in the context of Boost.format will be added to choices.html)
<<<

I haven't looked at this in detail, but the T & / T const & overload is
ambiguous when the argument is const.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk