diff --git a/docs/docs/howto_contribute.xml b/docs/docs/howto_contribute.xml index 6820b010a..1c2bf9150 100644 --- a/docs/docs/howto_contribute.xml +++ b/docs/docs/howto_contribute.xml @@ -286,7 +286,7 @@ double compute_sum_of_array_elements(const std::vector<double>& array) If you absolutely need pointer semantics then you can usually use a smart pointer like scoped_ptr or shared_ptr. If that still isn't good enough for you and you really need to use a normal C style pointer - then isolate your pointers inside a class so that they are contained in a small area of the code. + then isolate your pointers inside a class or function so that they are contained in a small area of the code. However, in practice the container classes in dlib and the STL are more than sufficient in nearly every case where pointers would otherwise be used.