2017-08-02 23:03:05 |
Giovanni G. |
description |
Description: Ubuntu 16.04.2 LTS
Release: 16.04
The compare operator for uuid is broken for non standard (always return false). This for example breaks using uuid as keys in std::map which uses less than comparator.
The example program generates 2 non standard uuid then compares them with < > and ==. All three returns false
Then it creates a std::map<uuid,string>
Insert a string in the map using the first uuid as key, then try to access the second key value with .at
It should raise an exceptio instead it returns the value from the first key
This bug has been fixed in boost 1.60 |
Description: Ubuntu 16.04.2 LTS
Release: 16.04
The compare operator for uuid is broken for non standard (always return false). This for example breaks using uuid as keys in std::map which uses less than comparator.
The example program generates 2 non standard uuid then compares them with < > and ==. All three returns false
Then it creates a std::map<uuid,string>
Insert a string in the map using the first uuid as key, then try to access the second key value with .at
It should raise an exceptio instead it returns the value from the first key
This bug has been fixed in boost 1.59 |
|