Lines Matching refs:Base
414 template <typename Base,
423 // Construct unique_ptr<Base> with a move and implicit cast
429 fbl::unique_ptr<Base> base_ptr(fbl::move(derived_ptr));
435 // Assign unique_ptr<Base> at declaration time with a fbl::move
441 fbl::unique_ptr<Base> base_ptr = fbl::move(derived_ptr);
447 // Assign unique_ptr<Base> after declaration with a fbl::move
451 fbl::unique_ptr<Base> base_ptr;
461 bool test_res = handoff_fn<fbl::unique_ptr<Base>>(fbl::move(derived_ptr));
468 // Construct unique_ptr<Base> without a move.
472 fbl::unique_ptr<Base> base_ptr(derived_ptr);
477 // Assign unique_ptr<Base> at declaration time without a fbl::move.
481 fbl::unique_ptr<Base> base_ptr = derived_ptr;
486 // Assign unique_ptr<Base> after declaration without a fbl::move.
490 fbl::unique_ptr<Base> base_ptr;
500 bool test_res = handoff_fn<fbl::unique_ptr<Base>>(derived_ptr);