TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
view_tools.hpp
#include <nda/nda.hpp>
#include <type_traits>

Detailed Description

Aliases that map a TRIQS container type to its regular / view / const-view companion.

Definition in file view_tools.hpp.

Go to the source code of this file.

Typedefs

template<typename T>
using triqs::const_view_or_type_t = typename details::_const_view_or_type<T>::type
 Get the const view type of a given type T if it exists.
template<typename T>
using triqs::regular_t = typename details::_regular<std::decay_t<T>>::type
 Get the regular type of a given type T if it exists.
template<typename T>
using triqs::view_or_type_t = typename details::_view_or_type<T>::type
 Get the view type of a given type T if it exists.