Subject: Re: [boost] [type_traits] Tests for implicit convertibility?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-01-22 07:09:28
>> So... have we backed ourselves into a corner or do we still have a way
>> to test for implicit-constructibilty that doesn't also require
>> copy-constructibility on the target type?
> By using existing traits (no, I don't think we need a new one)? How
> about `is_constructible<int, Int&&>` or `is_constructible<int, Int
> const&>`? Whether that's viable for you depends on your particular use
Thanks, that seems to get it! John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk