5 # ifndef VCCC_OPTIONAL_INTERNAL_COPY_CTOR_H_
6 # define VCCC_OPTIONAL_INTERNAL_COPY_CTOR_H_
8 # include <type_traits>
17 struct copy_ctor : dtor<T> {
23 struct copy_ctor<T, false> : dtor<T> {
27 copy_ctor() =
default;
28 copy_ctor(copy_ctor
const& other) {
30 this->construct(other.val);
33 copy_ctor(copy_ctor &&) =
default;
34 copy_ctor& operator=(copy_ctor
const&) =
default;
35 copy_ctor& operator=(copy_ctor &&) =
default;
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35