> MirCookie() = delete; > What advantage is there for disabling default construction?
Mainly to force the creation of only valid MirCookies. So if we ever get one we know it must have been created through one of its explicit CTOR.
« Back to merge proposal
> MirCookie() = delete;
> What advantage is there for disabling default construction?
Mainly to force the creation of only valid MirCookies. So if we ever get one we know it must have been created through one of its explicit CTOR.