Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-09-30 11:26:23


> nevertheless maybe a promoted<X,Y>::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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net