summaryrefslogtreecommitdiffstats
path: root/vec_builtin.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-11-26 16:57:57 -0500
committerErik Schnetter <schnetter@gmail.com>2013-11-26 17:01:57 -0500
commit8f6c6f0bff47dc1d508b3ea70150f65a96c449be (patch)
tree8722afdf31f6646dbde74d8d42a915d7fff5e67a /vec_builtin.h
parent80736b6e3754af935d3a86afc9ad9bd0103b5e51 (diff)
downloadvecmathlib-8f6c6f0bff47dc1d508b3ea70150f65a96c449be.zip
vecmathlib-8f6c6f0bff47dc1d508b3ea70150f65a96c449be.tar.gz
Don’t define << or >> for VML_NO_IOSTREAM
Diffstat (limited to 'vec_builtin.h')
-rw-r--r--vec_builtin.h2
1 files changed, 2 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
OpenPOWER on IntegriCloud