mgcpp
A C++ Math Library Based on CUDA
outcome.hpp
Go to the documentation of this file.
1 #ifndef OUTCOME_HPP
2 #define OUTCOME_HPP
3 
4 #define BOOST_SYSTEM_NO_DEPRECATED
5 #include <boost/outcome.hpp>
6 namespace outcome {
7 template <class R>
8 using result = BOOST_OUTCOME_V2_NAMESPACE::std_result<R>;
9 template <class R>
10 using outcome = BOOST_OUTCOME_V2_NAMESPACE::std_outcome<R>;
12 } // namespace outcome
13 
14 #endif // OUTCOME_HPP
Definition: mgblas_error_code.hpp:12
Definition: outcome.hpp:6
BOOST_OUTCOME_V2_NAMESPACE::std_result< R > result
Definition: outcome.hpp:8