cuda::experimental::stf::sump::remember_t#
-
template<class _Ptr>
struct remember_t# Serves the last successful value when a later call throws.
The cell is designated by pointer – a raw
T*for a caller-owned variable, or ashared_ptr<T>when the policy should share ownership; the two are distinguished statically by overload. Success updates the cell and passes the result through; failure substitutes the stored value (an lvalue: it can serve reference results).