// // Copyright (c) 2013-2016 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) // #ifndef BEAST_BUFFER_CONCEPTS_HPP #define BEAST_BUFFER_CONCEPTS_HPP #include #include #include namespace beast { /// Determine if `T` meets the requirements of @b `BufferSequence`. template #if GENERATING_DOCS struct is_BufferSequence : std::integral_constant #else struct is_BufferSequence : detail::is_BufferSequence::type #endif { }; /// Determine if `T` meets the requirements of @b `ConstBufferSequence`. template #if GENERATING_DOCS struct is_ConstBufferSequence : std::integral_constant #else struct is_ConstBufferSequence : is_BufferSequence #endif { }; /// Determine if `T` meets the requirements of @b `MutableBufferSequence`. template #if GENERATING_DOCS struct is_MutableBufferSequence : std::integral_constant #else struct is_MutableBufferSequence : is_BufferSequence #endif { }; /// Determine if `T` meets the requirements of @b `Streambuf`. template #if GENERATING_DOCS struct is_Streambuf : std::integral_constant #else struct is_Streambuf : detail::is_Streambuf::type #endif { }; } // beast #endif