Namespaces
Variants

std::experimental::reflect:: get_source_column

From cppreference.net
Extensions for reflection
Concepts
Meta-object operations
Variable
FunctionParameter
Callable
Variable and Callable
Namespace and Callable
ParenthesizedExpression
FunctionCallExpression
FunctionalConversion
Variable and Function
헤더 파일에 정의됨 <experimental/reflect>
template < Object T >
struct get_source_column ;
(reflection TS)

멤버 상수 value 를 제공합니다. 이는 T 에 의해 반영된 엔티티나 typedef-name의 선언 라인 시작점부터의 일부 오프셋을 나타내는 구현 정의 값을 가집니다.

목차

헬퍼 변수 템플릿

template < class T >
constexpr auto get_source_column_v = get_source_column < T > :: value ;
(리플렉션 TS)

std:: integral_constant 에서 상속됨

멤버 상수

value
[static]
T 가 반영하는 엔티티나 typedef-name의 선언 줄 시작점부터의 어떤 오프셋을 나타내는 구현 정의 값
(public static member constant)

멤버 함수

operator std::uint_least32_t
객체를 std:: uint_least32_t 로 변환하고, value 를 반환함
(public member function)
operator()
(C++14)
value 를 반환함
(public member function)

멤버 타입

타입 정의
value_type std:: uint_least32_t
type std:: integral_constant < std:: uint_least32_t , value >

예제

참고 항목

이 객체가 나타내는 열 번호를 반환합니다
( std::source_location 의 public 멤버 함수)