Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/circular_buffer_fwd.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Forward declaration of the circular buffer and its adaptor. |
Chris@16 | 2 |
Chris@16 | 3 // Copyright (c) 2003-2008 Jan Gaspar |
Chris@16 | 4 |
Chris@16 | 5 // Use, modification, and distribution is subject to the Boost Software |
Chris@16 | 6 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 7 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 8 |
Chris@16 | 9 // See www.boost.org/libs/circular_buffer for documentation. |
Chris@16 | 10 |
Chris@16 | 11 #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP) |
Chris@16 | 12 #define BOOST_CIRCULAR_BUFFER_FWD_HPP |
Chris@16 | 13 |
Chris@101 | 14 #if defined(_MSC_VER) |
Chris@16 | 15 #pragma once |
Chris@16 | 16 #endif |
Chris@16 | 17 |
Chris@16 | 18 #include <boost/config.hpp> |
Chris@16 | 19 #if !defined(BOOST_NO_STD_ALLOCATOR) |
Chris@16 | 20 #include <memory> |
Chris@16 | 21 #else |
Chris@16 | 22 #include <vector> |
Chris@16 | 23 #endif |
Chris@16 | 24 |
Chris@16 | 25 namespace boost { |
Chris@16 | 26 |
Chris@16 | 27 #if !defined(BOOST_NO_STD_ALLOCATOR) |
Chris@16 | 28 #define BOOST_CB_DEFAULT_ALLOCATOR(T) std::allocator<T> |
Chris@16 | 29 #else |
Chris@16 | 30 #define BOOST_CB_DEFAULT_ALLOCATOR(T) BOOST_DEDUCED_TYPENAME std::vector<T>::allocator_type |
Chris@16 | 31 #endif |
Chris@16 | 32 |
Chris@16 | 33 template <class T, class Alloc = BOOST_CB_DEFAULT_ALLOCATOR(T)> |
Chris@16 | 34 class circular_buffer; |
Chris@16 | 35 |
Chris@16 | 36 template <class T, class Alloc = BOOST_CB_DEFAULT_ALLOCATOR(T)> |
Chris@16 | 37 class circular_buffer_space_optimized; |
Chris@16 | 38 |
Chris@16 | 39 #undef BOOST_CB_DEFAULT_ALLOCATOR |
Chris@16 | 40 |
Chris@16 | 41 } // namespace boost |
Chris@16 | 42 |
Chris@16 | 43 #endif // #if !defined(BOOST_CIRCULAR_BUFFER_FWD_HPP) |