Lines Matching defs:big
16 // A big object which causes a function target to be heap allocated.
107 ClosureFunction fheap([&fheap_value, big = Big() ] { fheap_value++; });
150 ClosureFunction fmutheap([&fmutheap_value, big = Big(), x = 1 ]() mutable {
286 BinaryOpFunction fheap([&fheap_value, big = Big() ](int a, int b) {
333 BinaryOpFunction fmutheap([&fmutheap_value, big = Big(), x = 1 ](int a, int b) mutable {
452 auto big = [ big = Big(), x = 1 ] { (void)x; };
453 fit::function<Closure, sizeof(big)> fbig(std::move(big));
454 static_assert(sizeof(fbig) >= sizeof(big), "size bounds");
467 fsmall = [ big = Big(), x = 1 ] { (void)x; };
468 fbig = [ big = Big(), x = 1, y = 2 ] {
491 auto big = [ big = Big(), x = 1 ] { (void)x; };
492 fit::inline_function<Closure, sizeof(big)> fbig(std::move(big));
493 static_assert(sizeof(fbig) >= sizeof(big), "size bounds");
500 // These statements do not compile because the lambdas are too big to fit.
506 fsmall = [ big = Big(), x = 1 ] { (void)x; };
507 fbig = [ big = Big(), x = 1, y = 2 ] {
608 [&fheapvalue, big = Big(), d = DestructionObserver(&fheapdestroy) ] { fheapvalue++; };