2 ms·
The type, albeit nameable, may not be a part of the public API—it could be an implementation detail subject to change. This is the case with some standard libra
by Sharlin 9y ago
The type, albeit nameable, may not be a part of the public API—it could be an implementation detail subject to change. This is the case with some standard library types such as those returned by std::bind where the exact name of the type is explicitly left unspecified. It is possible to enforce this by returning a type whose name has private visibility—such a type is perfectly usable from the outside of its declaring class except that you cannot refer to it by its name.