Skip to content
Snippets Groups Projects
Commit 6d30cdcf authored by René Fritze's avatar René Fritze
Browse files

[common/vector] reduce applicability for clang workaround

parent cd21fe9d
No related branches found
No related tags found
No related merge requests found
...@@ -255,9 +255,9 @@ operator<<(std::basic_ostream<CharType, CharTraits>& out, const V& vec) ...@@ -255,9 +255,9 @@ operator<<(std::basic_ostream<CharType, CharTraits>& out, const V& vec)
namespace std { namespace std {
/// clang 3.6 does not consider the overload in the ns for some reason during resultion of a call in gtest /// clang 3.6 does not consider the overload in the ns for some reason during resultion of a call in gtest
template <class V, class CharType, class CharTraits> template <class V, class Alloc, class CharType, class CharTraits>
typename std::enable_if<Dune::Stuff::Common::is_vector<V>::value, std::basic_ostream<CharType, CharTraits>&>::type std::basic_ostream<CharType, CharTraits>& operator<<(std::basic_ostream<CharType, CharTraits>& out,
operator<<(std::basic_ostream<CharType, CharTraits>& out, const V& vec) const std::vector<V, Alloc>& vec)
{ {
::operator<<(out, vec); ::operator<<(out, vec);
return out; return out;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment