|
Boost : |
Subject: Re: [boost] [conversion] review
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-08-29 18:30:28
Le 30/08/11 00:09, Phil Endecott a écrit :
> Gordon Woodhull wrote:
>> If I had to write a conversion function, I would rather write it as
>> an overload of a general-purpose converter, rather than giving it
>> some ugly typeA2TypeB name.
>
> Why is e.g. rgb_to_cmyk() "ugly"?
>
> Is it because it is C, and C syntax is ancient history that must be
> purged from modern C++?
>
>
Hi,
I would not say ugly. Just that it needs some glue to be able to use it
in a generic context.
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk