PrevUpHome

Shoud I use such string ?


Duckcpp has its own string class: dcpp::nub::basic_string, dcpp::nub::string, dcpp::nub::wstring, which are designed by and forked from irrlicht, and used by the engine. (dcpp::nub String Category)

Should I use duckcpp string or c++ standard string?

Duckcpp string is designed for the engine, it has many features that c++ standard string does not have. And also, it lacks many general features that the c++ standard string has. For projects, I suggest use c++ standard string (std::string or std::wstring), not use the string from the engine.

Why not remove the duckcpp string and replace it with c++ standard string?

Duckcpp string is designed for and optimized for the engine. For engine internal use, the duckcpp string is preferred.

Conclusion

So the conclusion is that the duckcpp string should be used by the engine only, not used by external project.

Date

> date
Tue May  6 07:02:14 AM UTC 2025

Back

Up: Tips

c++

Duckcpp

cppfx.xyz


PrevUpHome