Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
83 stars 6 forks source link

Make the string API ready #29

Closed Dawoodoz closed 4 years ago

Dawoodoz commented 4 years ago

It's hard to write a tutorial about the string API before it's located in the API folder and free from internal implementation details that are easier to hide in the cpp file than to document.

Dawoodoz commented 4 years ago

Would be a lot easier if C++ could allow extending classes with private methods outside of the header, but using a macro to make all data public to non-member methods in the implementation module is clean enough. Making a reusable pattern defined in a common header using upper case PRIVATE or Private as a marco name might be easier to hide.

Dawoodoz commented 4 years ago

The string API is now faster, safer and ready to be documented in tutorials.