From 24fda7ccf84d5e8cf78abbea3dac77a1e197fd5f Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 27 Dec 2013 16:39:20 -0500 Subject: [PATCH] updated docs --- docs/docs/howto_contribute.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.