Namespaces
Variants

std:: indirectly_readable

From cppreference.net
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11) (C++14)
(C++14) (C++14)
(C++11) (C++14)
(C++14) (C++14)
(C++17) (C++20)
(C++17)
(C++17)
헤더 파일에 정의됨 <iterator>
( 설명 전용* )
template < class In >

concept indirectly_readable =

__IndirectlyReadableImpl < std:: remove_cvref_t < In >> ;
(C++20부터)

indirectly_readable 개념은 포인터, 스마트 포인터, 입력 반복자와 같이 operator * 를 적용하여 읽을 수 있는 타입들에 의해 모델링됩니다.

의미론적 요구사항

타입 I 의 값 i 가 주어졌을 때, I indirectly_readable 을 모델링하려면 그것이 포함하는 모든 개념이 모델링되어야 하며, 표현식 * i 등식 보존적 이어야 합니다.

동등성 보존

표준 라이브러리 개념의 requires expressions 에 선언된 표현식들은 equality-preserving 해야 합니다(다르게 명시된 경우를 제외하고).