mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +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
4 lines
58 B
Plaintext
4 lines
58 B
Plaintext
19
|
|
(_2 + sum(lazy function : (_1) --> ((2 * _1) + _2)))
|
|
9
|