std::experimental::reflect::get_source_column

From cppreference.com
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
 
Extensions for reflection
Concepts
Meta-object operations
Variable
FunctionParameter
Callable
Variable and Callable
Namespace and Callable
ParenthesizedExpression
FunctionCallExpression
FunctionalConversion
Variable and Function
 
Defined in header <experimental/reflect>
template< Object T >
struct get_source_column;
(reflection TS)

Provides the member constant value equal to the implementation-defined value representing some offset from the start of the line of the declaration of the entity or typedef-name reflected by T.

Helper variable template

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

Inherited from std::integral_constant

Member constants

value
[static]
the implementation-defined value representing some offset from the start of the line of the declaration of the entity or typedef-name reflected by T
(public static member constant)

Member functions

operator std::uint_least32_t
converts the object to std::uint_least32_t, returns value
(public member function)
operator()
(C++14)
returns value
(public member function)

Member types

Type Definition
value_type std::uint_least32_t
type std::integral_constant<std::uint_least32_t, value>

Example

See also

return the column number represented by this object
(public member function of std::source_location)