19 Nov
2007
19 Nov
'07
11:12 p.m.
On Nov 19, 2007 2:38 PM, Robert Dailey
1) If t_number is equal to 1, enable_if will allow the first overload for the array operator. 2) If t_number is greater than 1, enable_if will allow the second overload for the array operator.
Is there some sort of is_less_than or is_equal objects in boost I can use with enable_if for my operator overloads? Thanks.
http://www.boost.org/libs/mpl/doc/refmanual/comparisons.html
e.g.,
equal_to< int_