Is there an umbrella term for constructor / destructor methods?

The standard contains terminology to describe both a constructorand destructor?

Is there a technical term or phrase that can cover these two but exclude all other methods?

Lifetime methods?


I saw constructors called "ctors"and destructors called "dtors", but I never saw "tors"which are used to describe both. Does such a phrase exist?

+4
source share
2 answers

, -, copy/move, 12 [special] :

(12.1), (12.8), (12.8), (12.4) - [...]

+9

Source: https://habr.com/ru/post/1616423/


All Articles