Add comment about a trick for GCC8.1

This commit is contained in:
Alexander Karzhenkov 2023-01-08 12:00:04 +05:00
parent 24f2ce74a0
commit 7510f32ff7
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class optional
is_base_constructible_from<std::in_place_t, U...>
>;
struct noexcept_fix_t {};
struct noexcept_fix_t {}; // trick for GCC8.1 (see default constructor)
base_type base_value;

View File

@ -4657,7 +4657,7 @@ class optional
is_base_constructible_from<std::in_place_t, U...>
>;
struct noexcept_fix_t {};
struct noexcept_fix_t {}; // trick for GCC8.1 (see default constructor)
base_type base_value;