diff --git a/alib2/src/std/list.hpp b/alib2/src/std/list.hpp
index 7833c1b8be39ed2491b6a704030f4beca89f0942..4eb2961e46d2772fc9c6723eb35e3d9abecc9e5a 100644
--- a/alib2/src/std/list.hpp
+++ b/alib2/src/std/list.hpp
@@ -3,9 +3,13 @@
 
 #include <list>
 
+namespace std {
+
 template< class T >
 std::ostream& operator<<(std::ostream& out, const std::list<T>& list);
 
+}
+
 #include "set.hpp"
 #include "map.hpp"
 #include "pair.hpp"
diff --git a/alib2/src/std/map.hpp b/alib2/src/std/map.hpp
index 4b2d78146a18fc4c26347782b5a3dd2cbfa99ab2..5f821152d452ab9a27269205d6e6653b10967098 100644
--- a/alib2/src/std/map.hpp
+++ b/alib2/src/std/map.hpp
@@ -3,9 +3,13 @@
 
 #include <map>
 
+namespace std {
+
 template< class T, class R >
 std::ostream& operator<<(std::ostream& out, const std::map<T, R>& map);
 
+}
+
 #include "set.hpp"
 #include "pair.hpp"
 #include "list.hpp"
diff --git a/alib2/src/std/pair.hpp b/alib2/src/std/pair.hpp
index c410e9f7d1399d0404114f6766fee0ee5bd13adf..e89d9da77db2fa54a43d742968b849c02be058ae 100644
--- a/alib2/src/std/pair.hpp
+++ b/alib2/src/std/pair.hpp
@@ -3,9 +3,13 @@
 
 #include <map>
 
+namespace std {
+
 template< class T, class R >
 std::ostream& operator<<(std::ostream& out, const std::pair<T, R>& pair);
 
+}
+
 #include "set.hpp"
 #include "map.hpp"
 #include "list.hpp"
diff --git a/alib2/src/std/set.hpp b/alib2/src/std/set.hpp
index ef4e849372713875c3bdf92af0b7638c0bd107e2..c38b8ad78dbfbf8915771d1600c7a2167f7c8fb7 100644
--- a/alib2/src/std/set.hpp
+++ b/alib2/src/std/set.hpp
@@ -3,9 +3,13 @@
 
 #include <set>
 
+namespace std {
+
 template< class T >
 std::ostream& operator<<(std::ostream& out, const std::set<T>& list);
 
+}
+
 #include "map.hpp"
 #include "pair.hpp"
 #include "list.hpp"
diff --git a/alib2/src/std/tuple.hpp b/alib2/src/std/tuple.hpp
index f91f3402bf7823750cbe4edc88b5b9790f02f3f7..76fe870ac5673b7063efce76695d942690acf506 100644
--- a/alib2/src/std/tuple.hpp
+++ b/alib2/src/std/tuple.hpp
@@ -3,9 +3,13 @@
 
 #include <tuple>
 
+namespace std {
+
 template< class... Ts>
 std::ostream& operator<<(std::ostream& out, const std::tuple<Ts...>& tuple);
 
+}
+
 #include "set.hpp"
 #include "map.hpp"
 #include "list.hpp"
diff --git a/alib2/src/std/vector.hpp b/alib2/src/std/vector.hpp
index a9c4017052692ad2ac053d59d0ac4d53cb87e115..3a996d2925164b8a99359588c3ed3ab672bbd3fb 100644
--- a/alib2/src/std/vector.hpp
+++ b/alib2/src/std/vector.hpp
@@ -3,9 +3,13 @@
 
 #include <vector>
 
+namespace std {
+
 template< class T >
 std::ostream& operator<<(std::ostream& out, const std::vector<T>& vector);
 
+}
+
 #include "set.hpp"
 #include "map.hpp"
 #include "pair.hpp"