
4 Dec
2008
4 Dec
'08
1:45 p.m.
Steven Watanabe skrev:
AMDG
Thorsten Ottosen wrote:
Maybe we should consider to turn off deduction for the second argument with
template< class T > bool operator()( T l, mpl::identity<T>::type r, ... );
?
Any thoughts.
Maybe use http://www.boost.org/libs/type_traits/doc/html/boost_typetraits/reference/fl...
Could be ok. I guesss an alternative would be to have the function for long double. Both of these, however, seems to work bad with wrapped floats from e.g. Boost.Units. Therefore my original suggestion might be better. -Thorsten