On 29/11/17 04:54 -0500, Glen Fernandes wrote:
(Also added a new [_neg] test)
Move static_assert for function pointers to __to_address
Thanks, applied.
(Also added a new [_neg] test)
Move static_assert for function pointers to __to_address
2017-11-28 Glen Joseph Fernandes
* include/bits/ptr_traits.h (to_address): Moved static_assert.
* testsuite/20_util/to_address/1_neg.cc: New test.
Tested x86_64-pc-linux-gnu.
commit 0081e
On 28/11/17 12:30 -0500, Glen Fernandes wrote:
On Tue, Nov 28, 2017 at 9:24 AM, Jonathan Wakely wrote:
Thanks, Glen, I've committed this to trunk, with one small change to
fix the copyright dates in the new test, to be just 2017.
Thanks!
Because my new hobby is finding uses for if-constexpr,
On Tue, Nov 28, 2017 at 9:24 AM, Jonathan Wakely wrote:
> Thanks, Glen, I've committed this to trunk, with one small change to
> fix the copyright dates in the new test, to be just 2017.
Thanks!
> Because my new hobby is finding uses for if-constexpr, I think we
> could have used the detection id
On 25/11/17 10:31 -0500, Glen Fernandes wrote:
(Just a minor update to the last patch to use is_function_v instead
of is_function::value)
Implement std::to_address for C++2a
Thanks, Glen, I've committed this to trunk, with one small change to
fix the copyright dates in the new test, to be just
(Just a minor update to the last patch to use is_function_v instead
of is_function::value)
Implement std::to_address for C++2a
2017-11-25 Glen Joseph Fernandes
* include/bits/ptr_traits.h (to_address): Implement to_address.
* testsuite/20_util/to_address/1.cc: New tests.
Test
Implement std::to_address for C++2a
* include/bits/ptr_traits.h (to_address): Implement to_address.
* testsuite/20_util/to_address/1.cc: New tests.
Tested x86_64-pc-linux-gnu.
commit fffc95183120866461b363b19fe04f269d5f9299
Author: Glen Fernandes
Date: Fri Nov 17 15:43:19 2017