{ | |
"sessions": [ | |
{ | |
"conformanceview": false, | |
"id": 1, | |
"language": "c++", | |
"source": "\ntemplate<typename T>\nconcept TheSameAndAddable = requires(T a, T b) {\n {a+b} -> T;\n};\n\ntemplate<TheSameAndAddable T>\nT sum(T x, T y) {\n return x + y;\n}\n\n#include <string>\n\nint main() {\n int z = 0;\n int w;\n\n return sum(z, w);\n}\n", | |
"compilers": [ | |
{ | |
"id": "clang_concepts", | |
"options": "-std=c++1z -Wuninitialized -O3", | |
"filters": { | |
"binary": false, | |
"commentOnly": true, | |
"demangle": true, | |
"directives": true, | |
"execute": false, | |
"intel": true, | |
"labels": true, | |
"trim": false | |
}, | |
"libs": [], | |
"specialoutputs": [ | |
"compilerOutput", | |
"ast", | |
"opt", | |
"cfg" | |
], | |
"tools": [] | |
}, | |
{ | |
"id": "g82", | |
"options": "", | |
"filters": { | |
"binary": false, | |
"commentOnly": true, | |
"demangle": true, | |
"directives": true, | |
"execute": false, | |
"intel": true, | |
"labels": true, | |
"trim": false | |
}, | |
"libs": [], | |
"specialoutputs": [ | |
"gccdump" | |
], | |
"tools": [] | |
} | |
], | |
"executors": [] | |
} | |
] | |
} |