34 using HeldT = std::reference_wrapper<T>;
51 using HeldT = std::shared_ptr<T>;
Definition policies.hpp:11
Definition policies.hpp:9
Definition algorithm_builder.hpp:36
Storage policy that holds objects by value (a copy).
Definition policies.hpp:16
static const T & AtGet(HeldT const &t)
Access the held object.
Definition policies.hpp:22
T HeldT
The held type (the object itself).
Definition policies.hpp:17
Storage policy that holds a reference to an externally-owned object.
Definition policies.hpp:33
static const T & AtGet(HeldT const &t)
Access the referenced object.
Definition policies.hpp:39
std::reference_wrapper< T > HeldT
The held type (a reference wrapper).
Definition policies.hpp:34
Storage policy that holds objects via std::shared_ptr.
Definition policies.hpp:50
static const T & AtGet(HeldT const &t)
Access the pointed-to object.
Definition policies.hpp:56
std::shared_ptr< T > HeldT
The held type (a shared pointer).
Definition policies.hpp:51