You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to work on this.
Just a question: monostate is currently defined in xutility, and its relational operators and std::hash specialization are defined in variant itself. All of those still have to be available when including <variant>. How make them available in both variant and utility (move them to a new header/move them to xutility and include it from utility/other)?
Hi, I would like to work on this.
Just a question: monostate is currently defined in xutility, and its relational operators and std::hash specialization are defined in variant itself. All of those still have to be available when including <variant>. How make them available in both variant and utility (move them to a new header/move them to xutility and include it from utility/other)?
Thanks! In MSVC STL <variant> transitively includes <utility>, so this shouldn't be a problem.
WG21-P0472R3 Put
monostate
In<utility>
No feature-test macro is mentioned.
We can accept PRs to implement this backward-compatible change unconditionally.
The text was updated successfully, but these errors were encountered: