| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef WTF_Deque_h | 30 #ifndef WTF_Deque_h |
| 31 #define WTF_Deque_h | 31 #define WTF_Deque_h |
| 32 | 32 |
| 33 // FIXME: Could move what Vector and Deque share into a separate file. | 33 // FIXME: Could move what Vector and Deque share into a separate file. |
| 34 // Deque doesn't actually use Vector. | 34 // Deque doesn't actually use Vector. |
| 35 | 35 |
| 36 #include <iterator> |
| 36 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
| 37 #include <iterator> | |
| 38 | 38 |
| 39 namespace WTF { | 39 namespace WTF { |
| 40 | 40 |
| 41 template <typename T, size_t inlineCapacity, typename Allocator> | 41 template <typename T, size_t inlineCapacity, typename Allocator> |
| 42 class DequeIteratorBase; | 42 class DequeIteratorBase; |
| 43 template <typename T, size_t inlineCapacity, typename Allocator> | 43 template <typename T, size_t inlineCapacity, typename Allocator> |
| 44 class DequeIterator; | 44 class DequeIterator; |
| 45 template <typename T, size_t inlineCapacity, typename Allocator> | 45 template <typename T, size_t inlineCapacity, typename Allocator> |
| 46 class DequeConstIterator; | 46 class DequeConstIterator; |
| 47 | 47 |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 inline void swap(Deque<T, inlineCapacity, Allocator>& a, | 711 inline void swap(Deque<T, inlineCapacity, Allocator>& a, |
| 712 Deque<T, inlineCapacity, Allocator>& b) { | 712 Deque<T, inlineCapacity, Allocator>& b) { |
| 713 a.swap(b); | 713 a.swap(b); |
| 714 } | 714 } |
| 715 | 715 |
| 716 } // namespace WTF | 716 } // namespace WTF |
| 717 | 717 |
| 718 using WTF::Deque; | 718 using WTF::Deque; |
| 719 | 719 |
| 720 #endif // WTF_Deque_h | 720 #endif // WTF_Deque_h |
| OLD | NEW |