This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement std::to_address for C++2a


(Just a minor update to the last patch to use is_function_v<T> instead
of is_function<T>::value)

Implement std::to_address for C++2a

2017-11-25  Glen Joseph Fernandes  <glenjofe@gmail.com>

        * 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.

Attachment: to_address.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]