.TH "std::experimental::propagate_const< _Tp >" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::experimental::propagate_const< _Tp > \- Const-propagating wrapper\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef \fBremove_reference_t\fP< decltype(*\fBstd::declval\fP< _Tp & >())> \fBelement_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "template, \fBis_convertible\fP< _Up &&, _Tp >, __not_< __is_propagate_const< typename \fBdecay\fP< _Up >::type > > >::value, bool >::type = true> constexpr \fBpropagate_const\fP (_Up &&__u)" .br .ti -1c .RI "template, __not_< \fBis_convertible\fP< _Up &&, _Tp > >, __not_< __is_propagate_const< typename \fBdecay\fP< _Up >::type > > >::value, bool >::type = false> constexpr \fBpropagate_const\fP (_Up &&__u)" .br .ti -1c .RI "\fBpropagate_const\fP (const \fBpropagate_const\fP &__p)=delete" .br .ti -1c .RI "constexpr \fBpropagate_const\fP (\fBpropagate_const\fP &&__p)=default" .br .ti -1c .RI "template, \fBis_convertible\fP< _Up &&, _Tp > >::value, bool >::type = true> constexpr \fBpropagate_const\fP (\fBpropagate_const\fP< _Up > &&__pu)" .br .ti -1c .RI "template, __not_< \fBis_convertible\fP< _Up &&, _Tp > > >::value, bool >::type = false> constexpr \fBpropagate_const\fP (\fBpropagate_const\fP< _Up > &&__pu)" .br .ti -1c .RI "constexpr element_type * \fBget\fP ()" .br .ti -1c .RI "constexpr const element_type * \fBget\fP () const" .br .ti -1c .RI "constexpr \fBoperator bool\fP () const" .br .ti -1c .RI "template, \fBis_convertible\fP< _Up, const element_type * > >::value, bool >::type = true> constexpr \fBoperator const element_type *\fP () const" .br .ti -1c .RI "template, \fBis_convertible\fP< _Up, const element_type * > >::value, bool >::type = true> constexpr \fBoperator element_type *\fP ()" .br .ti -1c .RI "constexpr element_type & \fBoperator*\fP ()" .br .ti -1c .RI "constexpr const element_type & \fBoperator*\fP () const" .br .ti -1c .RI "constexpr element_type * \fBoperator\->\fP ()" .br .ti -1c .RI "constexpr const element_type * \fBoperator\->\fP () const" .br .ti -1c .RI "template, __not_<__is_propagate_const< typename decay<_Up>::type>> >::value>::type> constexpr \fBpropagate_const\fP & \fBoperator=\fP (_Up &&__u)" .br .ti -1c .RI "\fBpropagate_const\fP & \fBoperator=\fP (const \fBpropagate_const\fP &__p)=delete" .br .ti -1c .RI "constexpr \fBpropagate_const\fP & \fBoperator=\fP (\fBpropagate_const\fP &&__p)=default" .br .ti -1c .RI "template::value>::type> constexpr \fBpropagate_const\fP & \fBoperator=\fP (\fBpropagate_const\fP< _Up > &&__pu)" .br .ti -1c .RI "constexpr void \fBswap\fP (\fBpropagate_const\fP &__pt) noexcept(__is_nothrow_swappable< _Tp >::value)" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template constexpr const _Up & \fBget_underlying\fP (const \fBpropagate_const\fP< _Up > &__pt) noexcept" .br .ti -1c .RI "template constexpr _Up & \fBget_underlying\fP (\fBpropagate_const\fP< _Up > &__pt) noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::experimental::propagate_const< _Tp >"Const-propagating wrapper\&. .PP Definition at line \fB64\fP of file \fBpropagate_const\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef \fBremove_reference_t\fP())> \fBstd::experimental::propagate_const\fP< _Tp >::element_type" .PP Definition at line \fB67\fP of file \fBpropagate_const\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template template, \fBis_convertible\fP< _Up &&, _Tp > >::value, bool >::type = true> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::propagate_const (\fBpropagate_const\fP< _Up > && __pu)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB121\fP of file \fBpropagate_const\fP\&. .SS "template template, __not_< \fBis_convertible\fP< _Up &&, _Tp > > >::value, bool >::type = false> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::propagate_const (\fBpropagate_const\fP< _Up > && __pu)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB129\fP of file \fBpropagate_const\fP\&. .SS "template template, \fBis_convertible\fP< _Up &&, _Tp >, __not_< __is_propagate_const< typename \fBdecay\fP< _Up >::type > > >::value, bool >::type = true> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::propagate_const (_Up && __u)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB139\fP of file \fBpropagate_const\fP\&. .SS "template template, __not_< \fBis_convertible\fP< _Up &&, _Tp > >, __not_< __is_propagate_const< typename \fBdecay\fP< _Up >::type > > >::value, bool >::type = false> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::propagate_const (_Up && __u)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB149\fP of file \fBpropagate_const\fP\&. .SH "Member Function Documentation" .PP .SS "template constexpr element_type * \fBstd::experimental::propagate_const\fP< _Tp >::get (void)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB228\fP of file \fBpropagate_const\fP\&. .SS "template constexpr const element_type * \fBstd::experimental::propagate_const\fP< _Tp >::get (void) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB202\fP of file \fBpropagate_const\fP\&. .SS "template constexpr \fBstd::experimental::propagate_const\fP< _Tp >::operator bool () const\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB177\fP of file \fBpropagate_const\fP\&. .SS "template template, \fBis_convertible\fP< _Up, const element_type * > >::value, bool >::type = true> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::operator const element_type * () const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB192\fP of file \fBpropagate_const\fP\&. .SS "template template, \fBis_convertible\fP< _Up, const element_type * > >::value, bool >::type = true> constexpr \fBstd::experimental::propagate_const\fP< _Tp >::operator element_type * ()\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB218\fP of file \fBpropagate_const\fP\&. .SS "template constexpr element_type & \fBstd::experimental::propagate_const\fP< _Tp >::operator* ()\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB223\fP of file \fBpropagate_const\fP\&. .SS "template constexpr const element_type & \fBstd::experimental::propagate_const\fP< _Tp >::operator* () const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB197\fP of file \fBpropagate_const\fP\&. .SS "template constexpr element_type * \fBstd::experimental::propagate_const\fP< _Tp >::operator\-> ()\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB208\fP of file \fBpropagate_const\fP\&. .SS "template constexpr const element_type * \fBstd::experimental::propagate_const\fP< _Tp >::operator\-> () const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB182\fP of file \fBpropagate_const\fP\&. .SS "template template, __not_<__is_propagate_const< typename decay<_Up>::type>> >::value>::type> constexpr \fBpropagate_const\fP & \fBstd::experimental::propagate_const\fP< _Tp >::operator= (_Up && __u)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB170\fP of file \fBpropagate_const\fP\&. .SS "template template::value>::type> constexpr \fBpropagate_const\fP & \fBstd::experimental::propagate_const\fP< _Tp >::operator= (\fBpropagate_const\fP< _Up > && __pu)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB159\fP of file \fBpropagate_const\fP\&. .SS "template constexpr void \fBstd::experimental::propagate_const\fP< _Tp >::swap (\fBpropagate_const\fP< _Tp > & __pt)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB235\fP of file \fBpropagate_const\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.