From d31ad46b724953e6895dc087aa38c92e939b6c78 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Thu, 18 Jul 2019 13:55:27 +0200 Subject: split off mixed type/container operators into dedicated namespaces --- example/operators.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'example') diff --git a/example/operators.cc b/example/operators.cc index d225303..14fa00b 100644 --- a/example/operators.cc +++ b/example/operators.cc @@ -36,11 +36,14 @@ int main(int argc, char *argv[]) auto vd = vb * vc; dump("vd = vb * vc: ", vd); - std::list la = {100, 101, 101, 103, 104, 105}; - dump("la: ", la); + { + using namespace dwu::operators_xcxt; + std::list la = {100, 101, 101, 103, 104, 105}; + dump("la: ", la); - auto rr = la - vd; - dump("rr = la - vd: ", rr); + auto rr = la - vd; + dump("rr = la - vd: ", rr); + } return 0; } -- cgit v1.2.3