proxygen
folly::replaceable_detail::copy_ctor_mixin< T, true > Struct Template Reference

#include <Replaceable.h>

Public Member Functions

 copy_ctor_mixin ()=default
 
 copy_ctor_mixin (copy_ctor_mixin const &other) noexcept(std::is_nothrow_constructible< T, T const & >::value)
 
 copy_ctor_mixin (copy_ctor_mixin &&)=default
 
copy_ctor_mixinoperator= (copy_ctor_mixin &&)=default
 
copy_ctor_mixinoperator= (copy_ctor_mixin const &)=default
 

Detailed Description

template<class T>
struct folly::replaceable_detail::copy_ctor_mixin< T, true >

Definition at line 310 of file Replaceable.h.

Constructor & Destructor Documentation

template<class T >
folly::replaceable_detail::copy_ctor_mixin< T, true >::copy_ctor_mixin ( )
default
template<class T >
folly::replaceable_detail::copy_ctor_mixin< T, true >::copy_ctor_mixin ( copy_ctor_mixin< T, true > const &  other)
inlinenoexcept

Definition at line 312 of file Replaceable.h.

References upload::const, folly::T, and value.

313  {
314  ::new (reinterpret_cast<Replaceable<T>*>(this)->storage_)
315  T(*reinterpret_cast<Replaceable<T> const&>(other));
316  }
folly::std T
const
Definition: upload.py:398
template<class T >
folly::replaceable_detail::copy_ctor_mixin< T, true >::copy_ctor_mixin ( copy_ctor_mixin< T, true > &&  )
default

Member Function Documentation

template<class T >
copy_ctor_mixin& folly::replaceable_detail::copy_ctor_mixin< T, true >::operator= ( copy_ctor_mixin< T, true > &&  )
default
template<class T >
copy_ctor_mixin& folly::replaceable_detail::copy_ctor_mixin< T, true >::operator= ( copy_ctor_mixin< T, true > const &  )
default

The documentation for this struct was generated from the following file: