Namespaces
Variants
Views
Actions

C++ standard libraries extensions, version 3

From cppreference.com

Version 3 of the C++ Extensions for Library Fundamentals, defines the following new components for the C++ standard library, in addition to those defined in version 1 and version 2. Components merged into C++17 are excluded from LFTS v3.

[edit] Scope guard

Defined in header <experimental/scope>
wraps a function object and invokes it on exiting the scope
(class template) [edit]
wraps a function object and invokes it on exiting the scope through an exception
(class template) [edit]
wraps a function object and invokes it on exiting the scope normally
(class template) [edit]
universal RAII resource handle wrapper
(class template)

[edit] Feature test macros

Defined in header <experimental/scope>
__cpp_lib_experimental_scope
a value of at least 201902 indicates that the scope guard are supported
(macro constant)