Classes | Functions
Deferred.hpp File Reference

Defines class Deferred and make function. More...

#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
#include <memory>
#include <tuple>
#include <type_traits>
#include <utility>
#include "ErrorHandling/Error.hpp"
#include "Utilities/Gsl.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TypeTraits.hpp"

Go to the source code of this file.

Classes

class  Deferred< Rt, MakeConstReference >
 Provides deferred or lazy evaluation of a function or function object, as well as efficient storage of an object that is mutable. More...
 
class  Deferred< Rt, MakeConstReference >
 Provides deferred or lazy evaluation of a function or function object, as well as efficient storage of an object that is mutable. More...
 

Functions

template<typename Rt , typename Fp , typename... Args>
Deferred< Rt > make_deferred (Fp f, Args &&... args) noexcept
 Create a deferred function call object. More...
 
template<typename Rt , typename Fp , typename... Args>
auto make_deferred_for_subitem (Fp &&f, Args &&... args) noexcept
 
template<typename Rt , typename Fp , typename... Args>
void update_deferred_args (const gsl::not_null< Deferred< Rt > *> deferred, Fp, Args &&... args) noexcept
 Change the arguments to the Deferred function. More...
 
template<typename Rt , typename Fp , typename... Args>
void update_deferred_args (const gsl::not_null< Deferred< Rt > *> deferred, Args &&... args) noexcept
 Change the arguments to the Deferred function. More...
 

Detailed Description

Defines class Deferred and make function.