support asio standalone.

This commit is contained in:
qicosmos
2019-05-17 11:34:40 +08:00
parent 31eabf2222
commit f1e444f63b
8 changed files with 1381 additions and 26 deletions
+6
View File
@@ -4,9 +4,15 @@
#include <string_view>
using string_view = std::string_view;
#else
#ifdef ASIO_STANDALONE
#include "string_view.hpp"
using namespace nonstd;
#else
#include <boost/utility/string_view.hpp>
using string_view = boost::string_view;
#endif
#endif
#include "codec.h"
namespace rest_rpc {