Move streaming operators to namespace searched by ADL.
@@ -22,6 +22,8 @@ using vespalib::make_string_short::fmt;
using Primary = DenseSimpleJoinFunction::Primary;
using Overlap = DenseSimpleJoinFunction::Overlap;
+namespace vespalib::tensor {
+
std::ostream &operator<<(std::ostream &os, Primary primary)
{
switch(primary) {
@@ -41,6 +43,8 @@ std::ostream &operator<<(std::ostream &os, Overlap overlap)
abort();
}
+}
+
const TensorEngine &prod_engine = DefaultTensorEngine::ref();
EvalFixture::ParamRepo make_params() {
