// Forward declaration of the circular buffer and its adaptor. // Copyright (c) 2003-2008 Jan Gaspar // Use, modification, and distribution is subject to 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) // See www.boost.org/libs/circular_buffer for documentation. #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP) #define BOOST_CIRCULAR_BUFFER_FWD_HPP #if defined(_MSC_VER) #pragma once #endif #include #if !defined(BOOST_NO_STD_ALLOCATOR) #include #else #include #endif namespace boost { #if !defined(BOOST_NO_STD_ALLOCATOR) #define BOOST_CB_DEFAULT_ALLOCATOR(T) std::allocator #else #define BOOST_CB_DEFAULT_ALLOCATOR(T) BOOST_DEDUCED_TYPENAME std::vector::allocator_type #endif template class circular_buffer; template class circular_buffer_space_optimized; #undef BOOST_CB_DEFAULT_ALLOCATOR } // namespace boost #endif // #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP)