|
Boost : |
From: Bernard HUGUENEY (bernard.hugueney_at_[hidden])
Date: 2000-11-21 11:54:36
In message <8vasrt+at8h_at_e...>, d.frey_at_g... writes
>> >1) Why does lexical_cast requires the Source to be
>> >Copy-Constructable? Why is lexical_cast's argument defined as
>> >'Source arg' instead of 'const Source& arg'?
>>
>> This follows from the style of other cast functions. However, it is
>> a point of style that we might wish to revisit, which would in turn
>> weaken the requirement.
>
>I don't know how these issues are handled here, but I'd prefer the
>'const Source& arg'-style.
What about
call_traits<T>::param_type ?
enhanced inlining optmizations should not be lost when copy is cheap...
Bernard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk