5 # ifndef VCCC_OPTIONAL_INTERNAL_MOVE_CTOR_H_
6 # define VCCC_OPTIONAL_INTERNAL_MOVE_CTOR_H_
8 # include <type_traits>
17 struct move_ctor : copy_ctor<T> {
18 using base = copy_ctor<T>;
23 struct move_ctor<T, false> : copy_ctor<T> {
24 using base = copy_ctor<T>;
27 move_ctor() =
default;
28 move_ctor(move_ctor
const&) =
default;
31 this->construct(std::move(other.val));
34 move_ctor& operator=(move_ctor
const&) =
default;
35 move_ctor& operator=(move_ctor &&) =
default;
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35