Sha256: d439fafafad6d7a9253e606157ddbfbb6ba0149f1fc5931999287826e865596d
Contents?: true
Size: 448 Bytes
Versions: 7
Compression:
Stored size: 448 Bytes
Contents
#ifndef Rice__HandlerRegistration__hpp_ #define Rice__HandlerRegistration__hpp_ #include "detail/HandlerRegistry.hpp" namespace Rice { // Register exception handler template<typename Exception_T, typename Functor_T> detail::HandlerRegistry register_handler(Functor_T functor) { return detail::Registries::instance.handlers.add<Exception_T, Functor_T>(std::forward<Functor_T>(functor)); } } #endif // Rice__HandlerRegistration__hpp_
Version data entries
7 entries across 7 versions & 1 rubygems