Just a tid bit of information that doesn’t seem documented anywhere. Does anyone know? Because I would like to make it private, hoping that the constructor would be called from boost::serialization::access which is declared as a friend.
Just a tid bit of information that doesn’t seem documented anywhere. Does anyone know?
Share
Test example. Given that this works I’d assume it is a feature and would be upset if there was a future release that didn’t allow the access granting mechanism to grant access to private default constructors.
(Interestingly it seems to default construct one and then copy construct another on my system).