Skip to content

Counter Not Counting #5

@Asher-

Description

@Asher-

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions