[#get_col] [section get_col] [h1 Synopsis] template struct get_col; This is a [link lazy_metafunction lazy template metafunction]. [table Arguments [[Name] [Type]] [[`SourcePosition`] [[link source_position source position]]] ] [h1 Description] Returns the column of a source position. [h1 Header] #include [h1 Expression semantics] For any `l`, `c` compile-time wrapped integral values and `ch` compile-time wrapped character the following are equivalent get_col>::type c::type [h1 Example] #include #include #include using namespace boost::metaparse; struct returns_source_position { using type = source_position< std::integral_constant, std::integral_constant, std::integral_constant >; }; static_assert( get_col< source_position< std::integral_constant, std::integral_constant, std::integral_constant > >::type::value == 13, "It should return the column of a source position" ); static_assert( get_col::type::value == 13, "It should support lazy evaluation" ); [endsect]