Example is for map, not set! 23:41, 26 December 2013 (PST) Nishant

Example is now for set. I've tested gcc and clang, both compile and produce expected output. Incidentally I made a new template page for this to not damage other pages using the old template, but that template is poorly made and could be replaced by a more generic version of my template.

   DizzySkin (talk) 00:42, 22 June 2014 (PDT)

[edit] The default constructor can take arguments?

I find it misleading that the default constructor can take a Compare and an Allocator. The default constructor is only when both arguments gets their default values, otherwise we have overloaded constructors where we can input the Compare and/or Allocators. 09:24, 26 September 2014 (PDT)

The constructor set(const Compare& comp = Compare(), const Allocator& alloc = Allocator()) is the default constructor. I'll wikilink the definition. --Cubbi (talk) 09:39, 26 September 2014 (PDT)