Actions
Feature #1106
closedAdd functions that permit an efficient conversion between OFString and std::string
Start date:
2024-02-19
Due date:
% Done:
100%
Estimated time:
1:00 h
Module:
ofstd
Operating System:
Compiler:
Description
Depending on the configuration, class OFString is either a typedef for std::string, or an independent implementation.
If would be desirable to offer conversion functions that efficiently convert between both classes in both cases, e.g.
STD_NAMESPACE string OFString_to_std_string(const OFString& arg);
OFString std_string_to_OFString(const STD_NAMESPACE string& arg);
Actions