summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vec_builtin.h2
-rw-r--r--vec_pseudo.h2
-rw-r--r--vec_test.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/vec_builtin.h b/vec_builtin.h
index 1933468..e6cde58 100644
--- a/vec_builtin.h
+++ b/vec_builtin.h
@@ -1415,6 +1415,7 @@ namespace vecmathlib {
+#ifndef VML_NO_IOSTREAM
template<typename real_t, int size>
std::ostream& operator<<(std::ostream& os,
boolbuiltinvec<real_t, size> const& x)
@@ -1453,6 +1454,7 @@ namespace vecmathlib {
os << "]";
return os;
}
+#endif
} // namespace vecmathlib
diff --git a/vec_pseudo.h b/vec_pseudo.h
index a79e072..2aafc23 100644
--- a/vec_pseudo.h
+++ b/vec_pseudo.h
@@ -1633,6 +1633,7 @@ namespace vecmathlib {
+#ifndef VML_NO_IOSTREAM
template<typename real_t, int size>
std::ostream& operator<<(std::ostream& os,
boolpseudovec<real_t, size> const& x)
@@ -1671,6 +1672,7 @@ namespace vecmathlib {
os << "]";
return os;
}
+#endif
} // namespace vecmathlib
diff --git a/vec_test.h b/vec_test.h
index 8222919..46fc9d1 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -1436,6 +1436,7 @@ namespace vecmathlib {
+#ifndef VML_NO_IOSTREAM
template<typename real_t, int size>
std::ostream& operator<<(std::ostream& os,
booltestvec<real_t, size> const& x)
@@ -1474,6 +1475,7 @@ namespace vecmathlib {
os << "]";
return os;
}
+#endif
} // namespace vecmathlib
OpenPOWER on IntegriCloud