Subject: Re: [boost] [type_traits] Is it possible to test for an explicit conversion?
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2012-07-20 10:22:32
John Maddock-3 wrote
> OK, so we don't have such a trait at present, but one of the requests from
> the multiprecision review was "make conversions explicit in the front end
> they are in the backend". Which to do it nicely (and semi-automagically)
> requires a trait that tests whether A is explicitly convertible to B.
> would obviously make a useful type trait in it's own right, but....
> have any ideas on how such a trait could be implemented? At present it
> looks "impossible" to me, but I've learned never to say never ;-)
> Thanks, John.
I don't know on which state there are the traits I introduced in the
Of course, there should be some limitation with older compilers.
-- View this message in context: http://boost.2283326.n4.nabble.com/type-traits-Is-it-possible-to-test-for-an-explicit-conversion-tp4633335p4633348.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk