Files
iterables-js/README.md

1.4 KiB

iterables-js

A data structures library based on iterators, inspired by libstdc++

Operators

Operator Naming
+ add
- sub
++obj inc
--obj dec
* mul
/ div
% mod
== eq
!= neq
< a.cmp(b) < 0
> a.cmp(b) > 0
<= a.cmp(b) <= 0
>= a.cmp(b) >= 0
&& and
= const & copy
= && move
*obj deref
&obj ref
|| or
! not
& band
| bor
^ bxor
~ bnot
<< shl
>> shr
() call
, comma
obj++ X
obj-- X
-> X
+= X
-= X
*= X
/= X
%= X
&= X
|= X
^= X
<<= X
>>= X