https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92224
Bug ID: 92224 Summary: Set: Can't be created a set with const template parameter Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mariogalindoq at hotmail dot com Target Milestone: --- std::set keys are always const, however it is not possible to create a set with a const template parameter. The following should be right but gives a error: std::set<const int> s; // error!!