aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-01-22 14:34:39 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-01-22 14:34:39 +0000
commitaf0e0fa06b515dbc4978ddbce840ace3fe2dcc31 (patch)
treed6adeb3a578ef0649069d09362aa6f2c5456c967
parent113a62d92e63e6b069f4bf764dfb71da6206c0e5 (diff)
downloadgcc-af0e0fa06b515dbc4978ddbce840ace3fe2dcc31.zip
gcc-af0e0fa06b515dbc4978ddbce840ace3fe2dcc31.tar.gz
gcc-af0e0fa06b515dbc4978ddbce840ace3fe2dcc31.tar.bz2
* include/bits/stl_deque.h (_Deque_impl): Move comment.
From-SVN: r206924
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/stl_deque.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bc1803e..8810a0a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_deque.h (_Deque_impl): Move comment.
+
2014-01-21 Tim Shen <timshen91@gmail.com>
* include/bits/regex.tcc: Remove incorrect `nosubs` handling.
diff --git a/libstdc++-v3/include/bits/stl_deque.h b/libstdc++-v3/include/bits/stl_deque.h
index 10fcb07..996c10f 100644
--- a/libstdc++-v3/include/bits/stl_deque.h
+++ b/libstdc++-v3/include/bits/stl_deque.h
@@ -487,13 +487,13 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
~_Deque_base() _GLIBCXX_NOEXCEPT;
protected:
- //This struct encapsulates the implementation of the std::deque
- //standard container and at the same time makes use of the EBO
- //for empty allocators.
typedef typename _Alloc::template rebind<_Tp*>::other _Map_alloc_type;
typedef typename _Alloc::template rebind<_Tp>::other _Tp_alloc_type;
+ //This struct encapsulates the implementation of the std::deque
+ //standard container and at the same time makes use of the EBO
+ //for empty allocators.
struct _Deque_impl
: public _Tp_alloc_type
{