mirror of
https://github.com/TartanLlama/expected.git
synced 2025-08-03 19:04:29 +02:00
More constexpr fixes
This commit is contained in:
@@ -1393,7 +1393,7 @@ public:
|
|||||||
class U = T,
|
class U = T,
|
||||||
detail::enable_if_t<std::is_convertible<U &&, T>::value> * = nullptr,
|
detail::enable_if_t<std::is_convertible<U &&, T>::value> * = nullptr,
|
||||||
detail::expected_enable_forward_value<T, E, U> * = nullptr>
|
detail::expected_enable_forward_value<T, E, U> * = nullptr>
|
||||||
constexpr expected(U &&v) : expected(in_place, std::forward<U>(v)) {}
|
TL_EXPECTED_MSVC2015_CONSTEXPR expected(U &&v) : expected(in_place, std::forward<U>(v)) {}
|
||||||
|
|
||||||
template <
|
template <
|
||||||
class U = T,
|
class U = T,
|
||||||
|
Reference in New Issue
Block a user