SeeSoftware
String doesnt overload the << operator for ostream so you cant do this:
std::cout << String("hi") << "\n";
you have to get the raw string to print it:
std::cout << String("hi").CString() << "\n";
String doesnt overload the << operator for ostream so you cant do this:
std::cout << String("hi") << "\n";
you have to get the raw string to print it:
std::cout << String("hi").CString() << "\n";
Urho avoids bloating headers with STL dependencies (including iostream).
If you want to use streams instead of Urho logging, you could define all serialization operators that you need as free functions.
I think we could add separate header with this stuff in main repo tho…
Other info here: http://floooh.github.io/2016/08/27/asmjs-diet.html