Re: [PATCH] Simplify overflow checks in duration literals

2018-08-14 Thread Jonathan Wakely
On 14/08/18 09:59 -0400, Marek Polacek wrote: On Tue, Aug 14, 2018 at 02:55:17PM +0100, Jonathan Wakely wrote: * include/std/chrono (__check_overflow): Simplify definition. (_Checked_integral_constant): Remove. Tested x86_64-linux, committed to trunk. commit c0dec9d05de4695

Re: [PATCH] Simplify overflow checks in duration literals

2018-08-14 Thread Marek Polacek
On Tue, Aug 14, 2018 at 02:55:17PM +0100, Jonathan Wakely wrote: > * include/std/chrono (__check_overflow): Simplify definition. > (_Checked_integral_constant): Remove. > > Tested x86_64-linux, committed to trunk. > > > commit c0dec9d05de4695136694f78f2f76e3c9f15b3f1 > Author: Jonat

[PATCH] Simplify overflow checks in duration literals

2018-08-14 Thread Jonathan Wakely
* include/std/chrono (__check_overflow): Simplify definition. (_Checked_integral_constant): Remove. Tested x86_64-linux, committed to trunk. commit c0dec9d05de4695136694f78f2f76e3c9f15b3f1 Author: Jonathan Wakely Date: Tue Aug 14 14:33:38 2018 +0100 Simplify overflow che