30 Sep
2005
30 Sep
'05
4:26 p.m.
nevertheless maybe a promoted
::type is a suitable candidate for type_traits ?
The logic needed to carry out promotions as specified in TR1 for the std::complex function overloads is in boost/tr1/detail/math_overloads.hpp, it could be used for a TR1 version of <cmath> as well when we get something to put in it :-) The logic is quite specific to the problem domain, and heavily dependent on MPL though, so how generally applicable it would be I don't know. John.