Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
24fda7cc
Commit
24fda7cc
authored
Dec 27, 2013
by
Davis King
Browse files
updated docs
parent
566e9535
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/docs/howto_contribute.xml
docs/docs/howto_contribute.xml
+1
-1
No files found.
docs/docs/howto_contribute.xml
View file @
24fda7cc
...
...
@@ -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
<a
href=
"containers.html#scoped_ptr"
>
scoped_ptr
</a>
or
<a
href=
"containers.html#shared_ptr"
>
shared_ptr
</a>
.
If that still isn't good enough for you and you
<i>
really
</i>
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.
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment