TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::utility::remove_rvalue_ref< T >

#include <triqs/utility/expression_template_tools.hpp>

Detailed Description

template<class T>
struct triqs::utility::remove_rvalue_ref< T >

Strip rvalue references from T while turning lvalue references into const &.

Convenient when building expression trees where rvalue operands should be stored by value while lvalue operands should be stored by const reference.

Template Parameters
TType to transform.

Definition at line 48 of file expression_template_tools.hpp.


The documentation for this struct was generated from the following file: