devxlogo

Address of a Constructor

Address of a Constructor

Question:
How can I obtain the address of a constructor for a C++ class object?

Answer:
A constructor is not an ordinary member function. You cannot take its address.

devx-admin

Share the Post: