coveo::linq
Implementation of .NET-like LINQ operators in C++
|
Traits class for elements in a sequence. More...
Public Types | |
using | value_type = T |
Type of element in the sequence. More... | |
using | const_value_type = const value_type |
Type of element in the sequence, but const . More... | |
using | raw_value_type = typename std::remove_cv< value_type >::type |
Raw type of element in the sequence. More... | |
using | pointer = value_type * |
Pointer to a sequence element. More... | |
using | reference = value_type & |
Reference to a sequence element. More... | |
using | const_pointer = const_value_type * |
Pointer to a const sequence element. More... | |
using | const_reference = const_value_type & |
Reference to a const sequence element. More... | |
Traits class containing definitions pertaining to the elements of a sequence. For sequences of references or std::reference_wrapper
s, provides information about the referred type instead.
T | Type of elements in the sequence. |
using coveo::seq_element_traits< T >::value_type = T |
Type of the sequence's elements. Corresponds to T
.
using coveo::seq_element_traits< T >::const_value_type = const value_type |
Same as coveo::seq_element_traits::value_type
, but const
.
using coveo::seq_element_traits< T >::raw_value_type = typename std::remove_cv<value_type>::type |
Same as coveo::seq_element_traits::value_type
, but "raw", e.g. without const
or volatile
.
using coveo::seq_element_traits< T >::pointer = value_type* |
Pointer to an element in the sequence. Corresponds to coveo::seq_element_traits::value_type*
.
using coveo::seq_element_traits< T >::reference = value_type& |
Reference to an element in the sequence. Corresponds to coveo::seq_element_traits::value_type&
.
using coveo::seq_element_traits< T >::const_pointer = const_value_type* |
Pointer to a const
element in the sequence. Corresponds to coveo::seq_element_traits::const_value_type*
.
using coveo::seq_element_traits< T >::const_reference = const_value_type& |
Reference to a const
element in the sequence. Corresponds to coveo::seq_element_traits::const_value_type&
.