diff options
Diffstat (limited to 'example/operators.cc')
-rw-r--r-- | example/operators.cc | 11 |
1 files changed, 7 insertions, 4 deletions
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<float> la = {100, 101, 101, 103, 104, 105}; - dump("la: ", la); + { + using namespace dwu::operators_xcxt; + std::list<float> 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; } |