|
constexpr | propagate_const ()=default |
|
FOLLY_CPP14_CONSTEXPR | propagate_const (propagate_const &&)=default |
|
| propagate_const (propagate_const const &)=delete |
|
template<typename OtherPointer , _t< std::enable_if< std::is_constructible< Pointer, OtherPointer && >::value &&!std::is_convertible< OtherPointer &&, Pointer >::value, int >> = 0> |
constexpr | propagate_const (propagate_const< OtherPointer > &&other) |
|
template<typename OtherPointer , _t< std::enable_if< std::is_constructible< Pointer, OtherPointer && >::value &&std::is_convertible< OtherPointer &&, Pointer >::value, int >> = 0> |
constexpr | propagate_const (propagate_const< OtherPointer > &&other) |
|
template<typename OtherPointer , _t< std::enable_if< !detail::is_decay_propagate_const< OtherPointer >::value &&std::is_constructible< Pointer, OtherPointer && >::value &&!std::is_convertible< OtherPointer &&, Pointer >::value, int >> = 0> |
constexpr | propagate_const (OtherPointer &&other) |
|
template<typename OtherPointer , _t< std::enable_if< !detail::is_decay_propagate_const< OtherPointer >::value &&std::is_constructible< Pointer, OtherPointer && >::value &&std::is_convertible< OtherPointer &&, Pointer >::value, int >> = 0> |
constexpr | propagate_const (OtherPointer &&other) |
|
FOLLY_CPP14_CONSTEXPR propagate_const & | operator= (propagate_const &&)=default |
|
propagate_const & | operator= (propagate_const const &)=delete |
|
template<typename OtherPointer , typename = _t< std::enable_if<std::is_convertible<OtherPointer&&, Pointer>::value>>> |
FOLLY_CPP14_CONSTEXPR propagate_const & | operator= (propagate_const< OtherPointer > &&other) |
|
template<typename OtherPointer , typename = _t<std::enable_if< !detail::is_decay_propagate_const<OtherPointer>::value && std::is_convertible<OtherPointer&&, Pointer>::value>>> |
FOLLY_CPP14_CONSTEXPR propagate_const & | operator= (OtherPointer &&other) |
|
FOLLY_CPP14_CONSTEXPR void | swap (propagate_const &other) noexcept(noexcept(detail::propagate_const_adl::adl_swap(std::declval< Pointer & >(), other.pointer_))) |
|
FOLLY_CPP14_CONSTEXPR element_type * | get () |
|
constexpr element_type const * | get () const |
|
constexpr | operator bool () const |
|
FOLLY_CPP14_CONSTEXPR element_type & | operator* () |
|
constexpr element_type const & | operator* () const |
|
FOLLY_CPP14_CONSTEXPR element_type * | operator-> () |
|
constexpr element_type const * | operator-> () const |
|
template<typename OtherPointer = Pointer, typename = _t<std::enable_if< std::is_pointer<OtherPointer>::value || std::is_convertible<OtherPointer, element_type*>::value>>> |
FOLLY_CPP14_CONSTEXPR | operator element_type * () |
|
template<typename OtherPointer = Pointer, typename = _t<std::enable_if< std::is_pointer<OtherPointer>::value || std::is_convertible<OtherPointer, element_type const*>::value>>> |
constexpr | operator element_type const * () const |
|
template<typename Pointer>
class folly::propagate_const< Pointer >
Definition at line 29 of file PropagateConst.h.
template<typename Pointer>
template<typename OtherPointer , _t< std::enable_if< !detail::is_decay_propagate_const< OtherPointer >::value &&std::is_constructible< Pointer, OtherPointer && >::value &&std::is_convertible< OtherPointer &&, Pointer >::value, int >> = 0>