TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches

#include <nda/clef/placeholder.hpp>

Detailed Description

template<int N, typename T>
struct nda::clef::pair< N, T >

A pair consisting of a placeholder and its assigned value.

In most cases, the user should not have to explicitly create or handle pair objects. Instead, they are constructed indirectly by assigning a value to a placeholder when calling nda::clef::eval (see nda::clef::placeholder for an example).

Template Parameters
NInteger label of the placeholder.
TValue type.

Definition at line 117 of file placeholder.hpp.

Public Types

using value_type = std::decay_t<T>
 Type of the value after applying std::decay.
 

Public Attributes

rhs
 Value assigned to the placeholder (can be an lvalue reference).
 

Static Public Attributes

static constexpr int p = N
 Integer label of the placeholder.
 

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