Now base::lambda can be copied and can wrap any immutable lambda. For mutable lambdas there is base::lambda_once (which you're supposed to call only once to pass data through lambda captures, for example by using std::unique_ptr). Generally base::lambda is passed by value and base::lambda_once is passed by rvalue reference. |
||
|---|---|---|
| .. | ||
| basic_types.h | ||
| build_config.h | ||
| click_handler.cpp | ||
| click_handler.h | ||
| click_handler_types.cpp | ||
| click_handler_types.h | ||
| lambda.h | ||
| observer.cpp | ||
| observer.h | ||
| ordered_set.h | ||
| parse_helper.cpp | ||
| parse_helper.h | ||
| qthelp_regex.h | ||
| qthelp_url.cpp | ||
| qthelp_url.h | ||
| runtime_composer.cpp | ||
| runtime_composer.h | ||
| single_timer.cpp | ||
| single_timer.h | ||
| task_queue.cpp | ||
| task_queue.h | ||
| type_traits.h | ||
| utils.cpp | ||
| utils.h | ||
| version.h | ||
| virtual_method.h | ||
| zlib_help.h | ||