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
0002
0003
0004
0005
0006
0007
0008
0009
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 }
0042
0043 #endif