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
7edb820b
Commit
7edb820b
authored
Feb 23, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made wrap_string() a little simpler to use.
parent
1c598a62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
string.h
dlib/string/string.h
+4
-4
string_abstract.h
dlib/string/string_abstract.h
+2
-2
No files found.
dlib/string/string.h
View file @
7edb820b
...
...
@@ -496,8 +496,8 @@ namespace dlib
>
const
std
::
basic_string
<
charT
,
traits
,
alloc
>
wrap_string
(
const
std
::
basic_string
<
charT
,
traits
,
alloc
>&
str
,
const
unsigned
long
first_pad
,
const
unsigned
long
rest_pad
,
const
unsigned
long
first_pad
=
0
,
const
unsigned
long
rest_pad
=
0
,
const
unsigned
long
max_per_line
=
79
)
{
...
...
@@ -583,8 +583,8 @@ namespace dlib
>
const
std
::
basic_string
<
charT
>
wrap_string
(
const
charT
*
str
,
const
unsigned
long
first_pad
,
const
unsigned
long
rest_pad
,
const
unsigned
long
first_pad
=
0
,
const
unsigned
long
rest_pad
=
0
,
const
unsigned
long
max_per_line
=
79
)
{
return
wrap_string
(
std
::
basic_string
<
charT
>
(
str
),
first_pad
,
rest_pad
,
max_per_line
);
}
...
...
dlib/string/string_abstract.h
View file @
7edb820b
...
...
@@ -152,8 +152,8 @@ namespace dlib
>
const
std
::
basic_string
<
charT
,
traits
,
alloc
>
wrap_string
(
const
std
::
basic_string
<
charT
,
traits
,
alloc
>&
str
,
const
unsigned
long
first_pad
,
const
unsigned
long
rest_pad
,
const
unsigned
long
first_pad
=
0
,
const
unsigned
long
rest_pad
=
0
,
const
unsigned
long
max_per_line
=
79
);
/*!
...
...
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