[type traits] Extension to operator detection -> choose your preferred naming

25 Aug
2011
25 Aug
'11
11:03 a.m.
On 8/24/2011 07:23 Frederic Bron wrote:
Please give your preference between A, B and C before Sept. 5th.
Of these three choices, I think C is easiest to live with. However, if you're going to have has_unary_plus I think the symmetry of has_unary_minus is preferable to has_negate, and I continue to believe that an additional has_operator<Tag, TypeA, TypeB> (or can_call_operator<>) should be provided for use in more generic code (e.g. forwarding ETs from a higher level without caring exactly which operators are involved.) Brent
5041
Age (days ago)
5041
Last active (days ago)
0 comments
1 participants
participants (1)
-
Brent Spillner