This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
| // | |
| // Distributed under the Boost Software License, Version 1.0. (See accompanying | |
| // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
| // | |
| #include <beast/core/async_result.hpp> | |
| #include <beast/core/bind_handler.hpp> | |
| #include <beast/core/error.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Performing configuration checks | |
| - 32-bit : no (cached) | |
| - 64-bit : yes (cached) | |
| - arm : no (cached) | |
| - mips1 : no (cached) | |
| - power : no (cached) | |
| - sparc : no (cached) | |
| - x86 : yes (cached) | |
| - symlinks supported : yes (cached) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string> | |
| #include <cstdint> | |
| #include <iostream> | |
| #include <boost/asio/io_context.hpp> | |
| #include <boost/asio/use_future.hpp> | |
| #include <boost/asio/steady_timer.hpp> | |
| #include <boost/beast/core/string.hpp> | |
| #include <boost/beast/core/ostream.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ b2 -j20 doc | |
| ..\..\libs\log\build\Jamfile.v2:45: Unescaped special character in argument <def ine>$(flag)=1 | |
| C:/Users/vinnie/src/boost/libs/predef/check/../tools/check\predef.jam:46: Unesca ped special character in argument $(language)::$(expression) | |
| Performing configuration checks | |
| - default address-model : 32-bit (cached) | |
| - default architecture : x86 (cached) | |
| - symlinks supported : yes (cached) | |
| - C++11 mutex : yes (cached) | |
| ...patience... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // calculates the coalesce settings for a buffer sequence | |
| template<class FwdIt> | |
| struct coalesce_result | |
| { | |
| FwdIt last; | |
| std::size_t size = 0; | |
| bool copy = false; | |
| explicit | |
| coalesce_result(FwdIt last_) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class generic_service | |
| : public boost::asio::io_context::service | |
| { | |
| struct state | |
| { | |
| state() | |
| { | |
| libusb_init(0); // example | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Adaptor to present a DynamicStorage object as a DynamicBuffer | |
| */ | |
| template<class DynamicStorage> | |
| class dynamic_storage | |
| { | |
| DynamicStorage& s_; | |
| public: | |
| using const_buffers_type = | |
| typename DynamicStorage::const_buffers_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
| // | |
| // Distributed under the Boost Software License, Version 1.0. (See accompanying | |
| // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
| // | |
| // Official repository: https://github.com/boostorg/beast | |
| // | |
| #ifndef BOOST_BEAST_BUFFERS_ADAPTER_HPP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1813 (message): | |
| Unable to find the requested Boost libraries. | |
| Boost version: 1.67.0 | |
| Boost include path: C:/Users/vinnie/lib/boost_1_67_0 | |
| Could not find the following static Boost libraries: | |
| boost_system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
| # | |
| # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
| # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
| # | |
| # Official repository: https://github.com/boostorg/beast | |
| # | |
| cmake_minimum_required (VERSION 3.0.0) |