Chris@16: // Forward declaration of the circular buffer and its adaptor. Chris@16: Chris@16: // Copyright (c) 2003-2008 Jan Gaspar Chris@16: Chris@16: // Use, modification, and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See www.boost.org/libs/circular_buffer for documentation. Chris@16: Chris@16: #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP) Chris@16: #define BOOST_CIRCULAR_BUFFER_FWD_HPP Chris@16: Chris@101: #if defined(_MSC_VER) Chris@16: #pragma once Chris@16: #endif Chris@16: Chris@16: #include Chris@16: #if !defined(BOOST_NO_STD_ALLOCATOR) Chris@16: #include Chris@16: #else Chris@16: #include Chris@16: #endif Chris@16: Chris@16: namespace boost { Chris@16: Chris@16: #if !defined(BOOST_NO_STD_ALLOCATOR) Chris@16: #define BOOST_CB_DEFAULT_ALLOCATOR(T) std::allocator Chris@16: #else Chris@16: #define BOOST_CB_DEFAULT_ALLOCATOR(T) BOOST_DEDUCED_TYPENAME std::vector::allocator_type Chris@16: #endif Chris@16: Chris@16: template Chris@16: class circular_buffer; Chris@16: Chris@16: template Chris@16: class circular_buffer_space_optimized; Chris@16: Chris@16: #undef BOOST_CB_DEFAULT_ALLOCATOR Chris@16: Chris@16: } // namespace boost Chris@16: Chris@16: #endif // #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP)