-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Counter does not seem to be counting up.
∴ clang -std=c++1z -I../include cx_counter.cpp
cx_counter.cpp:6:3: error: static_assert failed "counter(1)"
static_assert(cx::counter() == 1, "counter(1)");
^ ~~~~~~~~~~~~~~~~~~
cx_counter.cpp:7:3: error: static_assert failed "counter(2)"
static_assert(cx::counter() == 2, "counter(2)");
^ ~~~~~~~~~~~~~~~~~~
cx_counter.cpp:8:3: error: static_assert failed "counter(3)"
static_assert(cx::counter() == 3, "counter(3)");
^ ~~~~~~~~~~~~~~~~~~
3 errors generated.
Gerard097, mikhail-khalizev and m-peko
Metadata
Metadata
Assignees
Labels
No labels