Commit c68fd018 authored by Tiago Peixoto's avatar Tiago Peixoto

Include test for specific C++14 features in ax_cxx_compile_stdcxx_14.m4

parent 78337816
Pipeline #53 passed with stage
......@@ -64,6 +64,9 @@ m4_define([_AX_CXX_COMPILE_STDCXX_14_testbody], [[
// Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
struct use_l { use_l() { l(); } };
auto la = [](auto p){};
struct use_la { use_la() { int a=0; la(a); } };
// http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
// Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
namespace test_template_alias_sfinae {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment