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 #1

Updated by Jörg Riesmeier about 1 year ago

  • Target version changed from 3.6.9 to 3.7.1+
Actions #2

Updated by Marco Eichelberg 8 months ago

  • Status changed from New to Closed
  • Assignee set to Marco Eichelberg
  • Target version deleted (3.7.1+)
  • % Done changed from 0 to 100
  • Estimated time set to 1:00 h

Closed by commit #82e57e254.

Actions

Also available in: Atom PDF