Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
c68fd018
Commit
c68fd018
authored
Oct 17, 2015
by
Tiago Peixoto
Browse files
Include test for specific C++14 features in ax_cxx_compile_stdcxx_14.m4
parent
78337816
Pipeline
#53
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
m4/ax_cxx_compile_stdcxx_14.m4
View file @
c68fd018
...
...
@@ -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 {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment