Project

General

Profile

Actions

Feature #1106

closed

Add functions that permit an efficient conversion between OFString and std::string

Added by Marco Eichelberg over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Library
Target version:
-
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

Also available in: Atom PDF