You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
What steps will reproduce the problem?
1. Change the std::string to std::wstring in the beginner tutorial
Please provide any additional information below.
I get an error at :
template < class T >
void FromString( const std::string& temp, T* out ) const
{
std::istringstream val( temp );
val >> *out;
if ( val.fail() )
{
TICPPTHROW( "Could not convert \"" << temp << "\" to target type" );
}
}
When T is a wstring this doesnt compile because std::istringstream doesnt work
for wstrings.
Original issue reported on code.google.com by [email protected] on 26 Sep 2009 at 2:25
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 26 Sep 2009 at 2:25The text was updated successfully, but these errors were encountered: