Visual Studio Code – Why is always_false_v required in this situation?
I'm using std::variant to specify the types of properties that an entity in my project may have, and stumbled upon this code from cppreference: std::visit([](auto&& arg) { using T = std::decay_t<decltype(arg)>; if constexpr (std::is_same_v<T, int>) std::cout << "int with value…