Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-30 10:15:21


Caleb Epstein wrote:

>> string s;
>> s = format("%1%") % 10;
>>
>> and need to write
>>
>> s = (format("%1%") % 10).str();
>>
>> Maybe it's specifics of my code, but I can count 10 such conversions in a
>> single source file. I think that:
>>
>> 1. Calling .str() is rather inconvenient.
>
> Is the free-function syntax
>
> str (format (...))
>
> more palatable?

No, it's still too inconvenient for me.

- Volodya

 


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