|
| template<class... TT> |
| | ConstRefValue (const TT &... refs) |
| | Constructor from reference values. More...
|
| |
| template<class Ty > |
| Ty | Cast () const noexcept |
| | Cast to any type, for which a set<size_t>(Ty) function exists. More...
|
| |
| T | X () const noexcept |
| | Get const value of the first (x) value. More...
|
| |
| template<size_t N = K, std::enable_if_t< less< 1, N >::value, int > = 0> |
| T | Y () const noexcept |
| | Get const value of the second (y) value. More...
|
| |
| template<size_t N = K, std::enable_if_t< less< 2, N >::value, int > = 0> |
| T | Z () const noexcept |
| | Get const value of the third (z) value. More...
|
| |
| template<size_t N = K, std::enable_if_t< less< 3, N >::value, int > = 0> |
| T | W () const noexcept |
| | Get const value of the fourth (w) value. More...
|
| |
| T | operator[] (size_t i) const noexcept |
| | Element access. More...
|
| |
|
(Note that these are not member functions.)
|
| template<size_t I, class T , size_t K, std::enable_if_t< less< I, K >::value, int > = 0> |
| auto | get (const ConstRefValue< T, K > &refVal) noexcept -> decltype(refVal[I]) |
| | Get's the I-th element of the ConstRefValue<T,K>. More...
|
| |
| template<size_t I, class Ty , size_t K> |
| CVB_FORCE_INLINE void | internal_set (ConstRefValue< Ty, K > &refVal, const Ty *val) noexcept |
| |
template<class T, size_t K>
class Cvb::ConstRefValue< T, K >
This class holds references to K values of type T.
- See also
- Block, Visit