diff --git a/src/phasicFlow/containers/Set/Set.hpp b/src/phasicFlow/containers/Set/Set.hpp index 3c619f0b..7ed856a3 100644 --- a/src/phasicFlow/containers/Set/Set.hpp +++ b/src/phasicFlow/containers/Set/Set.hpp @@ -24,6 +24,7 @@ Licence: #include #include "types.hpp" +#include "iOstream.hpp" namespace pFlow { @@ -34,6 +35,20 @@ using Set = std::set,std::allocator>; using wordSet = Set; +template +iOstream& operator<<(iOstream& os, const Set& s) +{ + os << beginListToken(); + for(auto elm = s.begin(); elm!=s.end(); ) + { + os<< *elm++; + if( elm!=s.end() ) + os<