aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_meta.cpp
diff options
context:
space:
mode:
authorGravatar Christian Seiler <christian@iwakd.de>2014-06-04 18:47:42 +0200
committerGravatar Christian Seiler <christian@iwakd.de>2014-06-04 18:47:42 +0200
commit58cfac9a1277f2b2198ed1e5c3190543d1ed95a6 (patch)
tree8f6c303b2cf39d8a4d590c1cf31e25dda50f7e98 /unsupported/test/cxx11_meta.cpp
parent45515779d3e6a56aeddebc07b3a18ed006cefaf1 (diff)
unsupported/ C++11 workarounds: don't use hack for libc++ if not required
libc++ from 3.4 onwards supports constexpr std::get, but only if compiled with -std=c++1y. Change the detection so that libc++'s internals are only used if either -std=c++1y is not specified or the library is too old, making the whole hack a bit more future-proof.
Diffstat (limited to 'unsupported/test/cxx11_meta.cpp')
0 files changed, 0 insertions, 0 deletions