1 #ifndef GAUDI_FUNCTIONAL_PRODUCER_H 2 #define GAUDI_FUNCTIONAL_PRODUCER_H 14 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
17 template <
typename... Out,
typename Traits_>
28 [&](
auto&... ohandle ) {
30 [&ohandle...](
auto&&... data ) {
31 #if __cplusplus < 201703L
32 (void)std::initializer_list<int>{
33 ( details::put( ohandle, std::forward<decltype( data )>( data ) ), 0 )...};
52 template <
typename Out,
typename Traits_>
virtual const std::string & message() const
error message to be printed
Define general base for Gaudi exception.
class MergingTransformer< Out(const vector_of_const_< In > void
decltype(auto) constexpr apply(F &&f, Tuple &&t) noexcept(noexcept( detail::apply_impl(std::forward< F >(f), std::forward< Tuple >(t), std::make_index_sequence< std::tuple_size< std::remove_reference_t< Tuple >>::value >{})))
virtual const StatusCode & code() const
StatusCode for Exception.
StatusCode execute() override final
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr std::add_const_t< T > & as_const(T &t) noexcept
StatusCode execute() override final
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
struct[[deprecated("use MergingTransformer instead")]] Traits_
Helper functions to set/get the application return code.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Out1 * put(DataObjectHandle< Out1 > &out_handle, Out2 &&out)