Closed Breakthrough closed 5 years ago
I've submitted a PR (#101) with my proposed fix (namely, replacing the two calls to insert() with insert_unique() and insert_equal(), respectively). It passes all boost::container unit tests, but wanted to verify that this was the actual intent of these functions, and would like to know if this is a valid solution (or if another approach should be considered instead).
Thank you!
The following lines cause issue on GHS C++14 compiler (lines 1218 and 1225):
https://github.com/boostorg/container/blob/83bb62fed3aca489e447e394f3b23c272712ecb7/include/boost/container/detail/flat_tree.hpp#L1215-L1227
Specifically, yields the following errors:
I'm not 100% sure on the solution, but think it might be replacing this->insert with this->insert_unique/insert_equal?
Thank you!