Project

General

Profile

Bug #2445

Updated by Junxiao Shi over 9 years ago

`name::Component::compare` documentation defines its return value to be returns either -1, 0, or 1.   
 Its implementation contains `return std::memcmp(...`. 

 `std::memcmp` returns either "negative value", 0, or "positive value", where "negative value" isn't guaranteed to be -1, and "positive value" isn't guaranteed to be 1.   
 The result would be compiler dependent.

Back