0 votes
by (1.6k points)

1 Answer

0 votes
by (1.1k points)
selected by
Best answer
No default constructor is created for a class that has any constant or reference type members. If any of the above is false, then the constructor is nontrivial.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.