diff options
Diffstat (limited to 'example/operators.cc')
-rw-r--r-- | example/operators.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/example/operators.cc b/example/operators.cc index 68033dc..9656e1c 100644 --- a/example/operators.cc +++ b/example/operators.cc @@ -34,6 +34,15 @@ int main(int argc, char *argv[]) auto vd = vb * vc; dump("vd = vb * vc: ", vd); + auto vsa = va << 5; + dump("vsa = va << 5: ", vsa); + + auto vsb = 1 << va; + dump("vsb = 1 << va: ", vsb); + + auto vsc = vd >> va; + dump("vsc = vd >> va: ", vsc); + { // syntactic sugar for mixed container, mixed type using namespace dwu::operators_xcxt; |