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
7edb820b
You need to sign in or sign up before continuing.
Commit
7edb820b
authored
Feb 23, 2014
by
Davis King
Browse files
Made wrap_string() a little simpler to use.
parent
1c598a62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dlib/string/string.h
dlib/string/string.h
+4
-4
dlib/string/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