Template Struct Slice
Defined in File slice.hpp
Inheritance Relationships
Base Type
public proxsuite::linalg::veg::_detail::_slice::adl::AdlBase
(Struct AdlBase)
Derived Type
private proxsuite::linalg::veg::SliceMut< T >
(Template Struct SliceMut)
Struct Documentation
-
template<typename T>
struct Slice : public proxsuite::linalg::veg::_detail::_slice::adl::AdlBase Subclassed by proxsuite::linalg::veg::SliceMut< T >
Public Functions
-
constexpr VEG_INLINE Slice() = default
- inline constexpr VEG_INLINE Slice (Unsafe, FromRawParts, T const *data_, isize count) VEG_NOEXCEPT
- inline VEG_NODISCARD constexpr VEG_INLINE auto ptr () const VEG_NOEXCEPT -> T const *
- inline VEG_NODISCARD constexpr VEG_INLINE auto len () const VEG_NOEXCEPT -> isize
- inline VEG_NODISCARD constexpr VEG_INLINE auto operator[] (isize idx) const VEG_NOEXCEPT -> T const &
- inline VEG_NODISCARD constexpr VEG_INLINE auto get_unchecked (Unsafe, isize idx) const VEG_NOEXCEPT -> Ref< T >
- inline VEG_NODISCARD constexpr VEG_INLINE auto split_at (isize idx) const VEG_NOEXCEPT -> Tuple< Slice< T >, Slice< T >>
- inline VEG_NODISCARD VEG_INLINE auto as_bytes () const VEG_NOEXCEPT -> Slice< unsigned char >
-
constexpr VEG_INLINE Slice() = default