|
56 | 56 | #if (TL_CPLUSPLUS > 201103L) && !defined(TL_EXPECTED_GCC49) |
57 | 57 | #include <cassert> |
58 | 58 | #define TL_ASSERT(x) assert(x) |
59 | | -#else |
| 59 | +#else |
60 | 60 | #define TL_ASSERT(x) |
61 | 61 | #endif |
62 | 62 | #endif |
@@ -132,7 +132,7 @@ struct is_trivially_copy_constructible<std::vector<T, A>> : std::false_type {}; |
132 | 132 | #define TL_EXPECTED_11_CONSTEXPR constexpr |
133 | 133 | #endif |
134 | 134 |
|
135 | | -#if TL_CPLUSPLUS >= 201703L |
| 135 | +#if TL_CPLUSPLUS >= 201703L |
136 | 136 | #define TL_EXPECTED_NODISCARD [[nodiscard]] |
137 | 137 | #else |
138 | 138 | #define TL_EXPECTED_NODISCARD |
@@ -534,7 +534,7 @@ template <class T, class E> struct expected_storage_base<T, E, true, true> { |
534 | 534 | Args &&...args) |
535 | 535 | : m_unexpect(il, std::forward<Args>(args)...), m_has_val(false) {} |
536 | 536 |
|
537 | | - expected_storage_base(const expected_storage_base &) = default; |
| 537 | + expected_storage_base(const expected_storage_base &) = default; |
538 | 538 | expected_storage_base(expected_storage_base &&) = default; |
539 | 539 | expected_storage_base &operator=(const expected_storage_base &) = default; |
540 | 540 | expected_storage_base &operator=(expected_storage_base &&) = default; |
@@ -651,9 +651,9 @@ template <class E> struct expected_storage_base<void, E, false, true> { |
651 | 651 | //no constexpr for GCC 4/5 bug |
652 | 652 | #else |
653 | 653 | TL_EXPECTED_MSVC2015_CONSTEXPR |
654 | | - #endif |
| 654 | + #endif |
655 | 655 | expected_storage_base() : m_has_val(true) {} |
656 | | - |
| 656 | + |
657 | 657 | constexpr expected_storage_base(no_init_t) : m_val(), m_has_val(false) {} |
658 | 658 |
|
659 | 659 | constexpr expected_storage_base(in_place_t) : m_has_val(true) {} |
|
0 commit comments