cuda::experimental::stf::exception_policies::store#

Overloads#

store(__target)#

inline auto cuda::experimental::stf::exception_policies::store(
::std::exception_ptr *__target
)

Store the active exception, full dynamic type preserved, into *__target.

store(__target)#

inline auto cuda::experimental::stf::exception_policies::store(
::std::shared_ptr<::std::exception_ptr> __target
)

See store. Shared-ownership form.

store(__target)#

inline auto cuda::experimental::stf::exception_policies::store(
::cuda::std::span<char> __target
)

Store the active exception’s message into a caller-owned buffer, allocation-free.

store(__target)#

inline auto cuda::experimental::stf::exception_policies::store(
::std::string *__target
)

Store the active exception’s message into *__target, allocating; best effort.

store(__target)#

inline auto cuda::experimental::stf::exception_policies::store(
::std::shared_ptr<::std::string> __target
)

See store. Shared-ownership form.

store(__target)#

template<class _E, ::cuda::std::enable_if_t<::cuda::std::is_base_of_v<::std::exception, _E> && !::cuda::std::is_const_v<_E>, int> = 0>
auto cuda::experimental::stf::exception_policies::store(
_E *__target
)

Store an exception of dynamic type exactly _E into *__target; decline otherwise.

store(__target)#

template<class _E, ::cuda::std::enable_if_t<::cuda::std::is_base_of_v<::std::exception, _E> && !::cuda::std::is_const_v<_E>, int> = 0>
auto cuda::experimental::stf::exception_policies::store(
::std::shared_ptr<_E> __target
)

See store. Shared-ownership form.