mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
2c542647fd
- change : all objects are by default stored now by reference, not by copy any more. Unless the trait force_copy_in_expr is true. - rvalue refs are moved into the tree - simplifies a lot the writing of lazy method, objects. - added a macro for methods - tests ok. Further check needed to control absence of copies... - improved documentation
13 lines
292 B
Plaintext
13 lines
292 B
Plaintext
((x_ >> (2*x_ +1) )(10)) ---> 21
|
|
(f2(2,3)) ---> 5
|
|
(f2(2,3)) ---> 8
|
|
(ff2(2,3)) ---> 8
|
|
(f1(3)) ---> 36
|
|
(g2(2,3)) ---> 13
|
|
(ff8(2,3)) ---> 5
|
|
(f3(3)) ---> 36
|
|
lazy function : (_1) --> (((2 * _1) + 1) + 1)
|
|
(tql::eval( h, y_=1) (10)) ---> 22
|
|
(h) ---> lazy function : (_1) --> (((2 * _1) + _2) + 1)
|
|
7
|