[v3 patch] move comment to right place
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Jan 22 14:34:00 GMT 2014
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
commit ed8eb245c7778ac2ab17a7c29dddc527c3db497e
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Jan 22 14:11:12 2014 +0000
* include/bits/stl_deque.h (_Deque_impl): Move comment.
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
{
More information about the Libstdc++
mailing list