| 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 "wtf/Vector.h" | 36 #include "platform/wtf/Vector.h" |
| 37 #include <iterator> | 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; |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 inline void swap(Deque<T, inlineCapacity, Allocator>& a, | 697 inline void swap(Deque<T, inlineCapacity, Allocator>& a, |
| 698 Deque<T, inlineCapacity, Allocator>& b) { | 698 Deque<T, inlineCapacity, Allocator>& b) { |
| 699 a.swap(b); | 699 a.swap(b); |
| 700 } | 700 } |
| 701 | 701 |
| 702 } // namespace WTF | 702 } // namespace WTF |
| 703 | 703 |
| 704 using WTF::Deque; | 704 using WTF::Deque; |
| 705 | 705 |
| 706 #endif // WTF_Deque_h | 706 #endif // WTF_Deque_h |
| OLD | NEW |