Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/circular_buffer_fwd.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Forward declaration of the circular buffer and its adaptor.
0002 
0003 // Copyright (c) 2003-2008 Jan Gaspar
0004 
0005 // Use, modification, and distribution is subject to the Boost Software
0006 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0007 // http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 //  See www.boost.org/libs/circular_buffer for documentation.
0010 
0011 #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP)
0012 #define BOOST_CIRCULAR_BUFFER_FWD_HPP
0013 
0014 #if defined(_MSC_VER)
0015     #pragma once
0016 #endif
0017 
0018 #include <boost/config.hpp>
0019 #if !defined(BOOST_NO_STD_ALLOCATOR)
0020     #include <memory>
0021 #else
0022     #include <vector>
0023 #endif
0024 
0025 namespace boost {
0026 
0027 #if !defined(BOOST_NO_STD_ALLOCATOR)
0028     #define BOOST_CB_DEFAULT_ALLOCATOR(T) std::allocator<T>
0029 #else
0030     #define BOOST_CB_DEFAULT_ALLOCATOR(T) BOOST_DEDUCED_TYPENAME std::vector<T>::allocator_type
0031 #endif
0032 
0033 template <class T, class Alloc = BOOST_CB_DEFAULT_ALLOCATOR(T)>
0034 class circular_buffer;
0035 
0036 template <class T, class Alloc = BOOST_CB_DEFAULT_ALLOCATOR(T)>
0037 class circular_buffer_space_optimized;
0038 
0039 #undef BOOST_CB_DEFAULT_ALLOCATOR
0040 
0041 } // namespace boost
0042 
0043 #endif // #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP)