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. |
||
|---|---|---|
| .. | ||
| window_theme.cpp | ||
| window_theme.h | ||
| window_theme_editor.cpp | ||
| window_theme_editor.h | ||
| window_theme_editor_block.cpp | ||
| window_theme_editor_block.h | ||
| window_theme_preview.cpp | ||
| window_theme_preview.h | ||
| window_theme_warning.cpp | ||
| window_theme_warning.h | ||