关于#c++#的问题:为什么我的不显示有“拷贝构造函数的调用”#include <iostream>

为什么我的不显示有“拷贝构造函数的调用”

#include
using namespace std;

class Person {
public:
    Person()
    {
        cout << "Person默认构造函数调用" << endl;
    }

    Person(int age)
    {
        m_Age = age;
        cout << "Person有参构造函数的调用" << endl;
        
    }

    Person(const Person & p)
    {
        m_Age = p.m_Age;
        cout << "Person拷贝构造函数的调用" << endl;
    }

    ~Person()
    {
        cout << "Person析构函数调用" << endl;
    }

    int m_Age;
};

//3、值方式返回局部对象

Person doWork2()
{
    Person p1;
    return p1;
}

void test03()
{
    Person p = doWork2();
}

int main() {
    test03();
    system("pause");
    return 0;
}