.TH "std::common_iterator< _It, _Sent >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::common_iterator< _It, _Sent > \- An iterator/sentinel adaptor for representing a non-common range\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fBcommon_iterator\fP (_It __i) noexcept(is_nothrow_move_constructible_v< _It >)" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP (_Sent \fB__s\fP) noexcept(is_nothrow_move_constructible_v< _Sent >)" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP (\fBcommon_iterator\fP &&__x) noexcept(_S_noexcept< _It, _Sent >())" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP (const \fBcommon_iterator\fP &__x) noexcept(_S_noexcept< const _It &, const _Sent & >())" .br .ti -1c .RI "template<\fBtypename\fP _It2 , \fBtypename\fP \fB_Sent2\fP > .br requires convertible_to && convertible_toconstexpr \fBcommon_iterator\fP (const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &__x) noexcept(_S_noexcept< const _It2 &, const \fB_Sent2\fP & >())" .br .ti -1c .RI "constexpr \fBdecltype\fP(\fBauto\fP) \fBoperator*\fP ()" .br .ti -1c .RI "constexpr \fBdecltype\fP(\fBauto\fP) \fBoperator*\fP () const" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP & \fBoperator++\fP ()" .br .ti -1c .RI "constexpr \fBdecltype\fP(\fBauto\fP) \fBoperator++\fP (int)" .br .ti -1c .RI "constexpr \fBauto\fP \fBoperator\->\fP () const" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP & \fBoperator=\fP (\fBcommon_iterator\fP &&)=\fBdefault\fP" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP & \fBoperator=\fP (\fBcommon_iterator\fP &&__x) noexcept(is_nothrow_move_assignable_v< _It > &&is_nothrow_move_assignable_v< _Sent > &&is_nothrow_move_constructible_v< _It > &&is_nothrow_move_constructible_v< _Sent >)" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP & \fBoperator=\fP (const \fBcommon_iterator\fP &)=\fBdefault\fP" .br .ti -1c .RI "constexpr \fBcommon_iterator\fP & \fBoperator=\fP (const \fBcommon_iterator\fP &__x) noexcept(is_nothrow_copy_assignable_v< _It > &&is_nothrow_copy_assignable_v< _Sent > &&is_nothrow_copy_constructible_v< _It > &&is_nothrow_copy_constructible_v< _Sent >)" .br .ti -1c .RI "template<\fBtypename\fP _It2 , \fBtypename\fP \fB_Sent2\fP > .br requires convertible_to && convertible_to && assignable_from<_It&, const _It2&> && assignable_from<_Sent&, const \fB_Sent2\fP&>constexpr \fBcommon_iterator\fP & \fBoperator=\fP (const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &__x) noexcept(is_nothrow_constructible_v< _It, const _It2 & > &&is_nothrow_constructible_v< _Sent, const \fB_Sent2\fP & > &&is_nothrow_assignable_v< _It &, const _It2 & > &&is_nothrow_assignable_v< _Sent &, const \fB_Sent2\fP & >)" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "constexpr iter_rvalue_reference_t< _It > \fBiter_move\fP (const \fBcommon_iterator\fP &__i) noexcept(noexcept(ranges::iter_move(\fBstd::declval\fP< const _It & >())))" .br .ti -1c .RI "template _It2, \fBtypename\fP \fB_Sent2\fP > constexpr \fBvoid\fP \fBiter_swap\fP (const \fBcommon_iterator\fP &__x, const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &\fB__y\fP) noexcept(noexcept(ranges::iter_swap(\fBstd::declval\fP< const _It & >(), \fBstd::declval\fP< const _It2 & >())))" .br .ti -1c .RI "template _It2, sized_sentinel_for< _It > _Sent2> .br requires sized_sentinel_for<_Sent, _It2>constexpr iter_difference_t< _It2 > \fBoperator\-\fP (const \fBcommon_iterator\fP &__x, const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &\fB__y\fP)" .br .ti -1c .RI "template<\fBtypename\fP _It2 , sentinel_for< _It > _Sent2> .br requires sentinel_for<_Sent, _It2>constexpr bool \fBoperator==\fP (const \fBcommon_iterator\fP &__x, const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &\fB__y\fP)" .br .ti -1c .RI "template<\fBtypename\fP _It2 , sentinel_for< _It > _Sent2> .br requires sentinel_for<_Sent, _It2> && equality_comparable_with<_It, _It2>constexpr bool \fBoperator==\fP (const \fBcommon_iterator\fP &__x, const \fBcommon_iterator\fP< _It2, \fB_Sent2\fP > &\fB__y\fP)" .br .in -1c .SH "Detailed Description" .PP .SS "template _Sent> .br requires (!same_as<_It, _Sent>) && copyable<_It> .br class std::common_iterator< _It, _Sent >"An iterator/sentinel adaptor for representing a non-common range\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.