# xcontainer_semantic

Defined in `xtensor/core/xsemantic.hpp`

template<class D>
class xcontainer_semantic : public xt::xsemantic_base<D>

  Implementation of the xsemantic_base interface for dense multidimensional containers.

  The xcontainer_semantic class is an implementation of the xsemantic_base interface for dense multidimensional containers.

  Template Parameters:

    D – the derived type

  Subclassed by xt::xarray_adaptor< xbuffer_adaptor< xtl::closure_type_t< T * >, xt::no_ownership, detail::default_allocator_for_ptr_t< T > >, L, SC >, xt::xarray_adaptor< value_container &, L, SC >, xt::xarray_adaptor< flag_container &, L, SC >, xt::xarray_adaptor< const value_container &, L, SC >, xt::xarray_adaptor< const flag_container &, L, SC >, xt::xarray_adaptor< EC, L, SC, xoptional_expression_tag >, xt::xarray_container< temporary_container_t< storage_type >, L, SC, Tag >, xt::xarray_container< uvector< T, A >, L, xt::svector< typename uvector< T, A >::size_type, 4, SA, true > >, xt::xarray_container< xtl::xoptional_vector< T, A, BC >, L, xt::svector< typename uvector< T, A >::size_type, 4, SA, true >, xoptional_expression_tag >, xt::xarray_container< EC, L, SC, xoptional_expression_tag >, xt::xfixed_container< typename storage_type::value_type, S, L, SH, Tag >, xt::xfixed_container< T, FSH, L, Sharable >, xt::xfunctor_adaptor< detail::offset_forwarder< M, I >, CT >, xt::xoptional_assembly< raw_value_expression, raw_flag_expression >, xt::xtensor_adaptor< xbuffer_adaptor< xtl::closure_type_t< T * >, xt::no_ownership, detail::default_allocator_for_ptr_t< T > >, N, L >, xt::xtensor_adaptor< value_container &, N, L >, xt::xtensor_adaptor< flag_container &, N, L >, xt::xtensor_adaptor< const value_container &, N, L >, xt::xtensor_adaptor< const flag_container &, N, L >, xt::xtensor_adaptor< EC, N, L, xoptional_expression_tag >, xt::xtensor_container< temporary_container_t< storage_type >, N, L, Tag >, xt::xtensor_container< uvector< T, A >, N, L >, xt::xtensor_container< xtl::xoptional_vector< T, A, BC >, N, L, xoptional_expression_tag >, xt::xtensor_container< std::vector< T, A >, 2, layout_type::row_major >, xt::xtensor_container< EC, N, L, xoptional_expression_tag >

  Assign functions

  inline derived_type &assign_temporary(temporary_type&&)

    Assigns the temporary `tmp` to `*this`.

    Parameters:

      tmp – the temporary to assign.

    Returns:

      a reference to `*this`.