Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Commented Unassigned: WHY USE unescape_string here? [7]

$
0
0
``` C++
std::string web::json::details::_String::as_utf8_string() const
{
if(is_wide())
{
return utf16_to_utf8(unescape_string<utf16char>(m_wstring.get()));
}
else
{
return unescape_string<char>(m_string.get());
}
}
```
should escape_string should be used here?
Comments: @mloskot: Not silly at all. Most of our work so far has been done in an internal Visual Studio branch, but you will see more churn in the development branch soon, hopefully within a week.

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images