diff --git a/include/tl/expected.hpp b/include/tl/expected.hpp index 31a5193..31b130a 100644 --- a/include/tl/expected.hpp +++ b/include/tl/expected.hpp @@ -1216,11 +1216,11 @@ class expected : private detail::expected_move_assign_base, private detail::expected_delete_assign_base, private detail::expected_default_ctor_base { static_assert(!std::is_reference::value, "T must not be a reference"); - static_assert(!std::is_same>::value, + static_assert(!std::is_same::type>::value, "T must not be in_place_t"); - static_assert(!std::is_same>::value, + static_assert(!std::is_same::type>::value, "T must not be unexpect_t"); - static_assert(!std::is_same>>::value, + static_assert(!std::is_same>::type>::value, "T must not be unexpected"); static_assert(!std::is_reference::value, "E must not be a reference");