
18 Aug
2004
18 Aug
'04
12:38 p.m.
Arturo_Cuebas@bpmicro.com writes:
The program below contains a compile error. Following the program you will find the typical fix then my idea for a library that facilitates a syntactically prettier fix.
Maybe a good idea, but IMO the name resolve_cast is terrible. It could mean almost anything. This is something like member_function_cast_leaving_target_type_the_same. Maybe if you change the interface to accomodate regular functions you could call it select_overload. I don't buy the ideas that involve using function types as in select_overload<int(int)> because it requires specifying the return type, which is irrelevant. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com