Remix.run Logo
▲ pwdisswordfishq 3 hours ago

Rule of Zero is not actually about constructors other than the move and copy constructors.

▲wavemode 8 minutes ago | parent [-]

Rule-of-zero classes don't need regular constructors either, since you can just aggregate-initialize them.

If more logic surrounding their construction is needed, you can use factory functions.