Add comment about a trick for GCC8.1
This commit is contained in:
parent
24f2ce74a0
commit
7510f32ff7
@ -65,7 +65,7 @@ class optional
|
|||||||
is_base_constructible_from<std::in_place_t, U...>
|
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;
|
base_type base_value;
|
||||||
|
|
||||||
|
|||||||
@ -4657,7 +4657,7 @@ class optional
|
|||||||
is_base_constructible_from<std::in_place_t, U...>
|
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;
|
base_type base_value;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user