]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/bits/stl_deque.h
re PR libstdc++/58764 ([lwg/2193] error: converting to ‘const std::vector<std::basic_...
[thirdparty/gcc.git] / libstdc++-v3 / include / bits / stl_deque.h
index 996c10f604a8bb999662a75a8ef6d17e9e5c4361..0f4d0e9b8a79778c9ebe0225d18202e623819354 100644 (file)
@@ -781,12 +781,18 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
     public:
       // [23.2.1.1] construct/copy/destroy
       // (assign() and get_allocator() are also listed in this section)
+
+      /**
+       *  @brief  Creates a %deque with no elements.
+       */
+      deque() : _Base() { }
+
       /**
        *  @brief  Creates a %deque with no elements.
        *  @param  __a  An allocator object.
        */
       explicit
-      deque(const allocator_type& __a = allocator_type())
+      deque(const allocator_type& __a)
       : _Base(__a) { }
 
 #if __cplusplus >= 201103L