std::ctype<CharT>::~ctype (3) - Linux Manuals
std::ctype<CharT>::~ctype: std::ctype<CharT>::~ctype
Command to display std::ctype<CharT>::~ctype
manual in Linux: $ man 3 std::ctype<CharT>::~ctype
NAME
std::ctype<CharT>::~ctype - std::ctype<CharT>::~ctype
Synopsis
Defined in header <locale>
protected: ~ctype();
Destructs a std::ctype facet. This destructor is protected and virtual (due to base_class destructor being virtual). An object of type std::ctype, like most facets, can only be destroyed when the last std::locale object that implements this facet goes out of scope or if a user-defined class is derived from std::ctype and implements a public destructor.
Example
// Run this code
#include <iostream>
#include <locale>
struct Destructible_ctype : public std::ctype<wchar_t>
{
Destructible_ctype(std::size_t refs = 0) : ctype(refs) {}
// note: the implicit destructor is public
};
int main()
{
Destructible_ctype dc;
// std::ctype<wchar_t> c; // compile error: protected destructor
}
Pages related to std::ctype<CharT>::~ctype
- std::ctype<CharT>::ctype (3) - std::ctype<CharT>::ctype
- std::ctype<CharT>::is,std::ctype<CharT>::do_is (3) - std::ctype<CharT>::is,std::ctype<CharT>::do_is
- std::ctype<CharT>::narrow,do_narrow (3) - std::ctype<CharT>::narrow,do_narrow
- std::ctype<CharT>::scan_is,std::ctype<CharT>::do_scan_is (3) - std::ctype<CharT>::scan_is,std::ctype<CharT>::do_scan_is
- std::ctype<CharT>::scan_not,std::ctype<CharT>::do_scan_not (3) - std::ctype<CharT>::scan_not,std::ctype<CharT>::do_scan_not
- std::ctype<CharT>::tolower,std::ctype<CharT>::do_tolower (3) - std::ctype<CharT>::tolower,std::ctype<CharT>::do_tolower
- std::ctype<CharT>::toupper,std::ctype<CharT>::do_toupper (3) - std::ctype<CharT>::toupper,std::ctype<CharT>::do_toupper
- std::ctype<CharT>::widen,do_widen (3) - std::ctype<CharT>::widen,do_widen
- std::ctype<char> (3) - std::ctype<char>
- std::ctype<char>::classic_table (3) - std::ctype<char>::classic_table
- std::ctype<char>::ctype (3) - std::ctype<char>::ctype
- std::ctype<char>::is (3) - std::ctype<char>::is
- std::ctype<char>::scan_is (3) - std::ctype<char>::scan_is
- std::ctype<char>::scan_not (3) - std::ctype<char>::scan_not
- std::ctype<char>::table (3) - std::ctype<char>::table