C++ if constexpr not recognized (C++17)

Issue #1432 new
Anonymous created an issue

C++17 if constexpr not recognized. Those two constexpr should be in the same color.

constexpr int max_size = 100;
if constexpr (size > max_size)
    return 1;

Comments (0)

  1. Log in to comment