Tags in_place_init and in_place_init_if become inline constexpr

This commit is contained in:
Andrzej Krzemienski
2024-09-13 16:22:40 +02:00
parent 19f202b650
commit cbfb66379b
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -16,10 +16,10 @@
namespace boost {
class in_place_init_t { /* see below */ } ; ``[link reference_in_place_init __GO_TO__]``
const in_place_init_t in_place_init ( /* see below */ ) ;
inline constexpr in_place_init_t in_place_init ( /* see below */ ) ;
class in_place_init_if_t { /*see below*/ } ; ``[link reference_in_place_init_if __GO_TO__]``
const in_place_init_if_t in_place_init_if ( /*see below*/ ) ;
inline constexpr in_place_init_if_t in_place_init_if ( /*see below*/ ) ;
template <class T>
class optional ; ``[link reference_operator_template __GO_TO__]``
+1
View File
@@ -17,6 +17,7 @@
* Dropped dependency on Boost.Utility.
* Dropped dependency on Boost.Predef.
* A bit faster implementation of some relational operations.
* Tags `in_place_init` and `in_place_init_if` become `inline constexpr` and therewith leave smaller footprint in the executable. This addresses [@https://github.com/boostorg/optional/issues/103 issue #103].
[heading Boost Release 1.85]