Talk:cpp/language/extending std

Extending using n3064 / CWG defect 374, it appears to be not very well documented the alternative of extending the std namespace, possibly this is due to not supporting it, this information is also likely missing from the cpp/language/namespace and cpp/language/class pages. (Atleast examples are) --ReDucTor (talk) 21:53, 12 September 2016 (PDT)
 * we do use post-CWG374 wording in cpp/language/template_specialization. Could you give an example of how it would change the description here? --Cubbi (talk) 05:51, 13 September 2016 (PDT)
 * actually, I suppose it would be the appropriate way to demo the first "mini-example" here - it could be structured like the last specialization from the example in cpp/language/template_specialization (which is also post-CWG374) --Cubbi (talk) 07:17, 13 September 2016 (PDT)

https://en.cppreference.com/w/cpp/string/char_traits says "The char_traits class template serves as a basis for explicit instantiations. The user can provide a specialization for any custom character types. Several specializations are defined for the standard character types. ", this appears to be missing from the example list in this document - Anon
 * Any class template not listed falls into the case of "It is allowed to add template specializations for any standard library class template to the namespace std only if the declaration depends on at least one program-defined type and the specialization satisfies all requirements for the original template". Only the exceptions to this are worth listing. --Ybab321 (talk) 02:30, 20 November 2021 (PST)