TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <functional>
#include <type_traits>

Detailed Description

Provides some utility functions and type traits for the CLEF library.

Definition in file utils.hpp.

Go to the source code of this file.

Typedefs

template<class T >
using nda::clef::expr_storage_t = typename detail::expr_storage_impl<T>::type
 Type trait to determine how a type should be stored in an expression tree, i.e. either by reference or by value?
 

Variables

template<typename T >
constexpr bool nda::clef::force_copy_in_expr = detail::force_copy_in_expr_impl<T>
 Constexpr variable that is true if objects of type T should be forced to be copied into an expression tree.
 
template<typename... Ts>
constexpr bool nda::clef::is_any_lazy = (is_lazy<Ts> or ...)
 Constexpr variable that is true if any of the given types is lazy.
 
template<typename... Ts>
constexpr bool nda::clef::is_clef_expression = is_any_lazy<Ts...>
 Alias template for nda::clef::is_any_lazy.
 
template<typename T >
constexpr bool nda::clef::is_function = detail::is_function_impl<T>
 Constexpr variable that is true if the type T is an nda::clef::make_fun_impl type.
 
template<typename T >
constexpr bool nda::clef::is_lazy = detail::is_lazy_impl<T>
 Constexpr variable that is true if the type T is a lazy type.