Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches
kwk::view< Builder > Struct Template Reference

Non-owning, contiguous multi-dimensional container. More...

#include <kwk/container/view.hpp>

Detailed Description

template<typename Builder>
struct kwk::view< Builder >

Non-owning, contiguous multi-dimensional container.

Template Parameters
BuilderPolicy generator for current view

Public Types

using const_pointer = typename parent::const_pointer
 Associated const pointer type.
 
using const_reference = typename parent::const_reference
 Associated reference to const type.
 
using pointer = typename parent::pointer
 Associated pointer type.
 
using reference = typename parent::reference
 Associated reference type.
 
using shape_type = typename parent::shape_type
 Associated kwk::shape type.
 
using value_type = typename parent::value_type
 Underlying value type.
 

Public Member Functions

Constructors
constexpr view ()
 Default constructor.
 
constexpr view (rbr::concepts::option auto const &... opts)
 Construct a view from a list of options.
 
constexpr view (rbr::concepts::settings auto const &opts)
 Construct a view from a settings descriptor.
 
constexpr view (concepts::container< type< value_type >, shape_type > auto const &other)
 Shallow copy constructor.
 
constexpr viewoperator= (concepts::container< type< value_type >, shape_type > auto const &other)
 Shallow assignment operator.
 

Static Public Attributes

static constexpr std::int32_t static_order = parent::static_order
 Compile-time Order.