
29 Aug
2011
29 Aug
'11
10:30 p.m.
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