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
6be28865
Commit
6be28865
authored
May 18, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made example slightly clearer.
parent
dd91dc35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
parallel_for_ex.cpp
examples/parallel_for_ex.cpp
+2
-2
No files found.
examples/parallel_for_ex.cpp
View file @
6be28865
...
...
@@ -177,7 +177,7 @@ void example_using_lambda_functions()
struct
function_object
{
function_object
(
std
::
vector
<
int
>&
vect
)
:
vect
(
vect
)
{}
function_object
(
std
::
vector
<
int
>&
vect
_
)
:
vect
(
vect_
)
{}
std
::
vector
<
int
>&
vect
;
...
...
@@ -190,7 +190,7 @@ struct function_object
struct
function_object_sum
{
function_object_sum
(
const
std
::
vector
<
int
>&
vect
,
int
&
sum_
)
:
vect
(
vect
),
sum
(
sum_
)
{}
function_object_sum
(
const
std
::
vector
<
int
>&
vect
_
,
int
&
sum_
)
:
vect
(
vect_
),
sum
(
sum_
)
{}
const
std
::
vector
<
int
>&
vect
;
int
&
sum
;
...
...
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