We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4589b commit e388389Copy full SHA for e388389
include/beman/optional26/optional.hpp
@@ -288,8 +288,8 @@ concept enable_assign_from_other =
288
template <class T>
289
class optional {
290
static_assert((!std::is_same_v<T, std::remove_cv_t<in_place_t>>) &&
291
- (!std::is_same_v<std::remove_cv_t<T>, nullopt_t>),
292
- "T must not be in_place_t or nullopt_t");
+ (!std::is_same_v<std::remove_cv_t<T>, nullopt_t>),
+ "T must not be in_place_t or nullopt_t");
293
294
struct empty {};
295
union {
0 commit comments