Unlike `flat_map` and `flat_multimap`, The two function template overloads `flat_set::insert`'s wording strongly suggest we should use the transparent comparator https://eel.is/c++draft/flat.set#modifiers-1 Both the code and the tests were not using the transparent comparator, which needs to be fixed