[patch] Add std::void_t

Jonathan Wakely jwakely@redhat.com
Tue Apr 28 12:06:00 GMT 2015


Define std::void_t for -std=c++17 and -std=gnu++11 (like Ville's
uncaught_exceptions() patch I think this is useful to define as an
extension pre-C++17, and the feature-test macro makes it easy for
users to test for the presence/absence of it in different modes).

Tested ppc64le-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2562 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150428/3ad35343/attachment.bin>


More information about the Libstdc++ mailing list