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
-
VEG_INLINE constexpr Slice() = default
- inline VEG_INLINE constexpr Slice (Unsafe, FromRawParts, T const *data_, isize count) VEG_NOEXCEPT
- inline VEG_NODISCARD VEG_INLINE constexpr auto ptr () const VEG_NOEXCEPT -> T const *
- inline VEG_NODISCARD VEG_INLINE constexpr auto len () const VEG_NOEXCEPT -> isize
- inline VEG_NODISCARD VEG_INLINE constexpr auto operator[] (isize idx) const VEG_NOEXCEPT -> T const &
- inline VEG_NODISCARD VEG_INLINE constexpr auto get_unchecked (Unsafe, isize idx) const VEG_NOEXCEPT -> Ref< T >
- inline VEG_NODISCARD VEG_INLINE constexpr 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 >
-
VEG_INLINE constexpr Slice() = default