MCPcopy Create free account
hub / github.com/celtera/libremidi / from_exception

Function from_exception

include/libremidi/system_error2.hpp:1807–1817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1805
1806template <class E>
1807E from_exception(std::exception_ptr e) noexcept
1808{
1809 return detail::from_exception_impl<E>(
1810 std::move(e),
1811 disjunction<
1812 std::is_convertible<std::exception_ptr, E>,
1813 detail::is_convertible_from_exception_using_traits<E>,
1814 sentinel_type
1815 >{}
1816 );
1817}
1818
1819template <class E>
1820std::exception_ptr to_exception(E&& e) noexcept

Calls

no outgoing calls

Tested by

no test coverage detected