****** OBSOLETE - CONCEPTS HAS BEEN MERGED INTO CLANG TRUNK AND DEVELOPMENT CONTINUES THERE ****** This fork of llvm-project contains my implementation of C++2a Concepts for the Clang compiler, and will be updated regularly with bug fixes until the whole feature is merged to trunk. Follow the instructions here https://clang.llvm.org/get_started.html to build, then use the flags "-std=c++2a -Xclang -fconcepts-ts" to enable concepts.
27
stars
3
forks
source link
Concept definitions with unexpanded variadic template parameters evaluate to true #22
This fails to diagnose the unexpanded parameter pack Ts in c_wrapper. Instead, it seems to treat all uses of that expression as true, so all of the static_asserts pass.
This fails to diagnose the unexpanded parameter pack
Ts
inc_wrapper
. Instead, it seems to treat all uses of that expression astrue
, so all of the static_asserts pass.https://godbolt.org/z/aLPsZH