Commit 7edb820b authored by Davis King's avatar Davis King

Made wrap_string() a little simpler to use.

parent 1c598a62
...@@ -496,8 +496,8 @@ namespace dlib ...@@ -496,8 +496,8 @@ namespace dlib
> >
const std::basic_string<charT,traits,alloc> wrap_string ( const std::basic_string<charT,traits,alloc> wrap_string (
const std::basic_string<charT,traits,alloc>& str, const std::basic_string<charT,traits,alloc>& str,
const unsigned long first_pad, const unsigned long first_pad = 0,
const unsigned long rest_pad, const unsigned long rest_pad = 0,
const unsigned long max_per_line = 79 const unsigned long max_per_line = 79
) )
{ {
...@@ -583,8 +583,8 @@ namespace dlib ...@@ -583,8 +583,8 @@ namespace dlib
> >
const std::basic_string<charT> wrap_string ( const std::basic_string<charT> wrap_string (
const charT* str, const charT* str,
const unsigned long first_pad, const unsigned long first_pad = 0,
const unsigned long rest_pad, const unsigned long rest_pad = 0,
const unsigned long max_per_line = 79 const unsigned long max_per_line = 79
) { return wrap_string(std::basic_string<charT>(str),first_pad,rest_pad,max_per_line); } ) { return wrap_string(std::basic_string<charT>(str),first_pad,rest_pad,max_per_line); }
......
...@@ -152,8 +152,8 @@ namespace dlib ...@@ -152,8 +152,8 @@ namespace dlib
> >
const std::basic_string<charT,traits,alloc> wrap_string ( const std::basic_string<charT,traits,alloc> wrap_string (
const std::basic_string<charT,traits,alloc>& str, const std::basic_string<charT,traits,alloc>& str,
const unsigned long first_pad, const unsigned long first_pad = 0,
const unsigned long rest_pad, const unsigned long rest_pad = 0,
const unsigned long max_per_line = 79 const unsigned long max_per_line = 79
); );
/*! /*!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment