Nugget
fixed_ring_buffer.h
1 // Copyright (c) Electronic Arts Inc. All rights reserved.
4 
5 #ifndef EASTL_FIXED_RING_BUFFER_H
6 #define EASTL_FIXED_RING_BUFFER_H
7 
8 #include <EASTL/internal/config.h>
9 #include <EASTL/fixed_vector.h>
10 #include <EASTL/bonus/ring_buffer.h>
11 
12 #if defined(EA_PRAGMA_ONCE_SUPPORTED)
13  #pragma once // Some compilers (e.g. VC++) benefit significantly from using this. We've measured 3-4% build speed improvements in apps as a result.
14 #endif
15 
16 namespace eastl
17 {
18 
41 #if !defined(EA_COMPILER_NO_TEMPLATE_ALIASES)
42  template <typename T, size_t N>
44  ring_buffer<T, fixed_vector<T, N + 1, false>, typename fixed_vector<T, N + 1, false>::overflow_allocator_type>;
45 #endif
46 
47 } // namespace eastl
48 
49 #endif // Header include guard
50 
Definition: ring_buffer.h:205
EA Standard Template Library.
Definition: algorithm.h:288