Does the accessibility of deleted constructors/operators matter?
c++, c++11
Solution
Though accessibility and deletedness are orthogonal, it's hard to see how there could be a practical difference in the case you propose.
Problem
If a type has its default member(s)s deleted, does it make a difference what the accessibility of the declaration is? ``` class FooA { public: FooA() = delete; FooA(FooA const&) = delete; FooA& operator=(FooA const&) = delete; } class FooB { private: FooB() = delete; FooB(FooB const&) = delete; FooB& operator=(FooB const&) = delete; } class FooC { protected: FooC() = delete; FooC(FooC const&) = delete; FooC& operator=(FooC const&) = delete; } ```