TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
lazy_bracket.hpp
#include "./tuple_tools.hpp"
#include <tuple>
#include <type_traits>
#include <utility>

Detailed Description

Lazy function call through chained [] operators.

Definition in file lazy_bracket.hpp.

Go to the source code of this file.

Functions

template<int NArgs, typename Lambda, typename T>
decltype(auto) triqs::utility::make_lazy_bracket (Lambda &&f, T const &x)
 Invoke a callable lazily by accumulating arguments through chained operator[] calls.