$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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
> case...
>
Thanks, that seems to get it! John.