Index: uspace/lib/cpp/include/impl/stack.hpp
===================================================================
--- uspace/lib/cpp/include/impl/stack.hpp	(revision 58ff67361d7e02ef95aa3a0c734e33056318b72e)
+++ uspace/lib/cpp/include/impl/stack.hpp	(revision 3adbbda94c3c30b3666802ce4ee4f577b3ea40d7)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2017 Jaroslav Jindrak
+ * Copyright (c) 2018 Jaroslav Jindrak
  * All rights reserved.
  *
@@ -30,7 +30,7 @@
 #define LIBCPP_STACK
 
+#include <deque>
 #include <initializer_list>
 #include <utility>
-#include <vector>
 
 namespace std
@@ -41,6 +41,5 @@
      */
 
-    // TODO: the default container should be deque<T>
-    template<class T, class Container = vector<T>>
+    template<class T, class Container = deque<T>>
     class stack
     {
@@ -131,6 +130,6 @@
             }
 
-            void swap(stack& other)
-                /* noexcept(noexcept(swap(c, other.c))) */
+            void swap(stack& other) // We cannot use c in the noexcept :/
+                noexcept(noexcept(declval<container_type>().swap(declval<container_type&>())))
             {
                 std::swap(c, other.c);
