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 名称声明所在行起始位置的某些偏移量。

目录

辅助变量模板

template < class T >
constexpr auto get_source_column_v = get_source_column < T > :: value ;
(反射TS)

继承自 std:: integral_constant

成员常量

value
[static]
表示从实体或由 T 反射的typedef-name声明行起始位置的实现定义偏移量
(公开静态成员常量)

成员函数

operator std::uint_least32_t
转换为 std:: uint_least32_t ,返回 value
(公开成员函数)
operator()
(C++14)
返回 value
(公开成员函数)

成员类型

类型 定义
value_type std:: uint_least32_t
type std:: integral_constant < std:: uint_least32_t , value >

示例

参见

返回此对象所表示的列号
( std::source_location 的公开成员函数)