What are the conventions for classes named "base" and "basic" in the C++ Standard Library? -


several classes in c++ standard library have "base" or "basic" in name. examples std::ios_base , std::basic_ios. have rough sense of conventions i'd see them spelled out , can't find resource that.

for classes "base" or "basic" in name, conventions concerning class hierarchies, templating, , typedefs?

std::basic_foo class template class handles text in way , can specialized various character types.

std::foo typedef std::basic_foo<char>.

std::wfoo typedef std::basic_foo<wchar_t>.

examples: std::basic_ios, std::basic_string, std::basic_regex.

on other hand, std::ios_base special case. there's no convention says base classes should named in way, , i'm not aware of other examples. imagine couldn't come better name.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -