fix untests

This commit is contained in:
BlackMATov
2022-01-24 04:47:50 +07:00
parent 5c0dc2350f
commit 14e68063d0
3 changed files with 8 additions and 27 deletions

View File

@@ -105,14 +105,13 @@ namespace meta_hpp
class value final {
public:
value() = default;
~value() = default;
value(value&& other) noexcept = default;
value(value&& other) = default;
value(const value& other) = default;
value& operator=(value&& other) noexcept;
value& operator=(const value& other);
~value() = default;
value& operator=(value&& other) = default;
value& operator=(const value& other) = default;
template < detail::decay_non_uvalue_kind T >
requires detail::stdex::copy_constructible<std::decay_t<T>>

View File

@@ -107,22 +107,6 @@ namespace meta_hpp
namespace meta_hpp
{
inline value& value::operator=(value&& other) noexcept {
if ( this != &other ) {
value temp{std::move(other)};
swap(temp);
}
return *this;
}
inline value& value::operator=(const value& other) {
if ( this != &other ) {
value temp{other};
swap(temp);
}
return *this;
}
template < detail::decay_non_uvalue_kind T >
requires detail::stdex::copy_constructible<std::decay_t<T>>
value::value(T&& val)