Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
24fda7cc
Commit
24fda7cc
authored
Dec 27, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docs
parent
566e9535
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
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