|
Boost : |
Subject: Re: [boost] [conversion] review
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2011-08-29 18:09:46
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++?
Regards, Phil.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk