Project

General

Profile

Bug #5339

Json::Value comparision operator always returns true

Added by Alan Finley about 5 years ago. Updated over 4 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
10/13/2016
Due date:
% Done:

0%

Estimated time:

Description

An example:

Wt::Json::Value v1(1);
Wt::Json::Value v2(2);
std::cout << std::boolalpha << "int equal: " << (v1 == v2) << std::endl;

v1 = Wt::Json::Value("Value 1");
v2 = Wt::Json::Value("Value 2");
std::cout << std::boolalpha << "string equal: " << (v1 == v2) << std::endl;

Output:

int equal: true
string equal: true
#1

Updated by Roel Standaert almost 5 years ago

  • Status changed from New to InProgress
  • Assignee set to André Jacobs
  • Target version changed from 3.3.1 to 3.3.7
#2

Updated by André Jacobs almost 5 years ago

  • Status changed from InProgress to Implemented @Emweb
#3

Updated by Koen Deforche almost 5 years ago

  • Status changed from Implemented @Emweb to Resolved
#4

Updated by Roel Standaert over 4 years ago

  • Status changed from Resolved to Feedback

Also available in: Atom PDF