On 13/09/17 21:30 -0400, Tim Song wrote:
On Wed, Sep 13, 2017 at 10:55 AM, Jonathan Wakely wrote:
+// DR 1177
+static_assert(is_constructible, duration>{},
+"can convert duration with one floating point rep to another");
+static_assert(is_constructible, duration>{},
+"can convert durat
On Wed, Sep 13, 2017 at 10:55 AM, Jonathan Wakely wrote:
>
> +// DR 1177
> +static_assert(is_constructible, duration>{},
> +"can convert duration with one floating point rep to another");
> +static_assert(is_constructible, duration>{},
> +"can convert duration with integral rep to one with
On 13/09/17 15:09 +0100, Jonathan Wakely wrote:
Howard reported this bug, caused by a missing SFINAE constraint on a
std::chrono::time_point constructor.
I've also done a bit of simplification using alias templates.
Here's the backport for the branches, which just adds the constraint
(and test