Commit 9aa54e9f authored by Davis King's avatar Davis King

Clarified spec

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403882
parent 3c49e9ad
......@@ -57,7 +57,10 @@ namespace dlib
After executing, val will be equal to 1234 and dval will be 3.141.
Note that you can use string_assign to assign to any type which you could
use with string_cast(). You aren't just limited to ints and doubles.
use with string_cast(), except for std::basic_string, assigning to this
type is ambiguous for boring technical reasons. But there isn't much
point in using this tool to assign from one string to another so it doesn't
matter.
Additionally, note that there is a global instance of this object, dlib::sa.
So you never have to create a string_assign object yourself. Finally, this
......
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