Jump to

v08-l2-findOutput

Consider a Car class that implement a default, copy and move constructor, and its destructor :

class Car {
    // All constructors and destructor implemented
};

void use(Car& a, float distance) {
    // No creation of local car instance
    // No dealocation of car instance
}

int main() {
    Car twingo();
    use(std::move(twingo), 3.0);
}

What mechanisms are use when calling the use function in main

???