Project

General

Profile

Actions

Bug #6346

closed

WString::arg does not compile with size_t on macos

Added by Emeric Poupon over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/18/2018
Due date:
% Done:

0%

Estimated time:

Description

Hello,

std::size_t myval(0);
Wt::WString::tr("mystring").arg(myval);

does not compile using macos. It seems that no suitable function can be found.

If I refer to http://fr.cppreference.com/w/cpp/string/basic_string/to_string, I think the following should be defined:

- unsigned

- unsigned long

  • unsigned long long

However, we just have ::uint64_t and unsigned with the arg() function.

Actions #1

Updated by Roel Standaert over 6 years ago

  • Status changed from New to Implemented @Emweb
  • Target version set to 4.0.4
Actions #2

Updated by Roel Standaert over 6 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #3

Updated by Roel Standaert about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF