CppWAMP
C++11 client library for the WAMP protocol
asyncresult.hpp
Go to the documentation of this file.
1 /*------------------------------------------------------------------------------
2  Copyright Butterfly Energy Systems 2022.
3  Distributed under the Boost Software License, Version 1.0.
4  http://www.boost.org/LICENSE_1_0.txt
5 ------------------------------------------------------------------------------*/
6 
7 #ifndef CPPWAMP_ASYNCRESULT_HPP
8 #define CPPWAMP_ASYNCRESULT_HPP
9 
10 //------------------------------------------------------------------------------
13 //------------------------------------------------------------------------------
14 
15 #include "config.hpp"
16 #include "erroror.hpp"
17 
18 namespace wamp
19 {
20 
22 template <typename T>
23 using AsyncResult CPPWAMP_DEPRECATED = ErrorOr<T>;
24 
25 } // namespace wamp
26 
27 #endif // CPPWAMP_ASYNCRESULT_HPP
erroror.hpp
Contains the ErrorOr template class.
wamp
Definition: anyhandler.hpp:36
wamp::ErrorOr
Minimalistic implementation of std::expected<T, std::error_code>
Definition: erroror.hpp:128