// // Copyright (c) 2013-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) // #ifndef BEAST_BUFFER_CONCEPTS_HPP #define BEAST_BUFFER_CONCEPTS_HPP #include #include #include #include namespace beast { /// Determine if `T` meets the requirements of @b ConstBufferSequence. template #if BEAST_DOXYGEN struct is_const_buffer_sequence : std::integral_constant #else struct is_const_buffer_sequence : detail::is_buffer_sequence::type #endif { }; /// Determine if `T` meets the requirements of @b DynamicBuffer. template #if BEAST_DOXYGEN struct is_dynamic_buffer : std::integral_constant #else struct is_dynamic_buffer : detail::is_dynamic_buffer::type #endif { }; /// Determine if `T` meets the requirements of @b MutableBufferSequence. template #if BEAST_DOXYGEN struct is_mutable_buffer_sequence : std::integral_constant #else struct is_mutable_buffer_sequence : detail::is_buffer_sequence::type #endif { }; } // beast #endif