C++ Logo


Advanced search

Feature test macro for variant<bool, string> taking const char* fix?

From: Emile Cormier <emile.cormier.jr_at_[hidden]>
Date: Sun, 6 Dec 2020 17:18:00 -0400
Hi Everyone,

Is there a feature test macro for P0608 and P1957, which fix the problem of
constructing a variant<bool, string> with a const char*?

According to the C++20 draft, the __cpp_­lib_­variant macro is still stuck
at 201606L and I cannot find any other macro concerning this.

Emile Cormier

Received on 2020-12-06 15:18:12