std::experi...ambdaCapture(3)
π NAME π
std::experimental::reflect::LambdaCapture β like, literally the std::experimental::reflect::LambdaCapture concept, bestie. That's the whole name, no notes π
This page lives in the C++ Standard Library manual (cppreference, the std::experi...ambdaCapture(3) page β yes the title bar truncates it, she's dramatic like that π).
β¨ Synopsis β¨
Okay so first things first, where does she live? Right here, queen:
Defined in header <experimental/reflect>
And here's the actual declaration, copy it exactly please, no typos or she won't compile π:
template< class T > (reflection TS)
concept LambdaCapture = Variable<T> && /* see below */;
So what does it all mean? The LambdaCapture concept is satisfied if and only if T reflects a lambda capture as introduced by the capture list or by capture defaults. Periodt. π₯
πΈ Note (and this is important, don't skip it): The Scope of a LambdaCapture is its immediately enclosing Lambda. Like, her main character energy only extends to the lambda she's literally inside of. That's her whole world π
π Example π
This section is incomplete.
Reason: examples
(no cap, they really just left us hanging like that π)
π¦ See also π¦
This section is incomplete.
Reason: templatization
(yeahβ¦ also empty. it's giving "we'll finish this later" π)
π Category: π
- Todo with reason
alright bestie that's the whole page, you ate that reading ngl π«Ά stay hydrated, keep your concepts satisfied, and remember: if it's not Variable<T> && it's not her β¨
mwπah β this was the std::experi...ambdaCapture(3) page from cppreference.com, dated 2024.06.10. see you in the next man page, love u, bye πππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms