STL
STL copied to clipboard
P2641R4 `is_within_lifetime()`: Checking If A Union Alternative Is Active
trafficstars
WG21-P2641R4 is_within_lifetime(): Checking If A Union Alternative Is Active
Feature-test macro:
#define __cpp_lib_within_lifetime 202306L
Note: We're focused on implementing the remaining library-only features in C++23. Until that's done, we will NOT be accepting PRs for C++26 features.
It appears that this is, by definition, powered by compiler magic. :magic_wand: