0

On isocpp - faq for references it states:

References are usually preferred over pointers whenever you don’t need “reseating”. This usually means that references are most useful in a class’s public interface. References typically appear on the skin of an object, and pointers on the inside.

So, what is a public interface in c++ ? If possible provide an example.

Simon
  • 241
  • 2
  • 13

0 Answers0