TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
auto_assign_subscript.hpp File Reference
#include "./expression.hpp"
#include "./function.hpp"
#include "./utils.hpp"
#include "./placeholder.hpp"
#include "../macros.hpp"
#include <functional>
#include <tuple>
#include <utility>

Detailed Description

Provides functionality to assign values to lazy subscriptable objects.

Definition in file auto_assign_subscript.hpp.

Go to the source code of this file.

Functions

template<typename Tag , typename... Childs, typename RHS >
__inline__ void nda::clef::clef_auto_assign_subscript (expr< Tag, Childs... > const &ex, RHS const &rhs)
 Overload of clef_auto_assign_subscript function for generic expressions.
 
template<typename T , typename RHS >
__inline__ void nda::clef::clef_auto_assign_subscript (expr< tags::terminal, T > const &ex, RHS &&rhs)
 Overload of clef_auto_assign_subscript function for terminal expressions.
 
template<typename T , typename RHS >
__inline__ void nda::clef::clef_auto_assign_subscript (std::reference_wrapper< T > wrapper, RHS &&rhs)
 Overload of clef_auto_assign_subscript function for std::reference_wrapper objects.
 
template<typename T , typename RHS , int... Is>
__inline__ void nda::clef::operator<< (expr< tags::subscript, T, placeholder< Is >... > const &ex, RHS &&rhs)
 Assign values to the underlying object of a lazy subscript expression.