Project

General

Profile

Actions

Bug #7719

closed

Convert a cpp17::any with unsigned long to a string always throws.

Added by Andreas Frolov over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/17/2020
Due date:
% Done:

0%

Estimated time:

Description

The following code always throws:

Wt::cpp17::any value = 4ul;
auto s = Wt::asString(value);

because you try to cast value to the type long instead of unsigned long what leads to an exception.

#4

Updated by Roel Standaert over 4 years ago

  • Status changed from New to Resolved
#7

Updated by Roel Standaert over 3 years ago

  • Description updated (diff)
  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF