Reputation: 1065
I am trying to create a instance of class but I keep on getting the following error message.
candidate function(s) not accessible
After going through the definition of the class which I was trying to instantiate, I realised that the constructor is declared as
public protected: Class name (paramters);
What does "public protected" together at the same time mean?
Upvotes: 1
Views: 849
Reputation: 62975
Quoting the documentation:
Member is public inside the assembly but protected outside the assembly.
Upvotes: 3