1.

Why Use References Rather Than Pointers In The Public Api, Particularly For Arguments Which Are Modified?

Answer»

The C++ provides the most precise statement of the priciples: 

No pointers in the public API, except when returning a pointer which MIGHT be null. The above reference also describes the problem of WRONG attitudes BROUGHT over from C.

The C++ provides the most precise statement of the priciples: 

No pointers in the public API, except when returning a pointer which might be null. The above reference also describes the problem of wrong attitudes brought over from C.



Discussion

No Comment Found