Home | History | Annotate | Download | only in expr.prim.lambda

Lines Matching full:void

3 template<typename T> void capture(const T&);
8 void foo() const;
16 void capture_by_copy(NonCopyable nc, NonCopyable &ncr, const NonConstCopy nco) {
17 (void)[nc] { }; // expected-error{{capture of variable 'nc' as type 'NonCopyable' calls private copy constructor}}
18 (void)[=] {
35 void foo() const;
38 void capture_with_default_args(CopyCtorDefault cct) {
39 (void)[=] () -> void { cct.foo(); };
46 void capture_array() {
48 auto x = [=]() -> void {
61 void test_layout(char a, short b) {
62 auto x = [=] () -> void {
71 void f() {
72 auto x = [this]() -> void {};