Home | History | Annotate | Download | only in locale.ctype

Lines Matching refs:my_facet

20 class my_facet
26 explicit my_facet(std::size_t refs = 0)
29 ~my_facet() {--count;}
32 template <class C> int my_facet<C>::count = 0;
37 std::locale l(std::locale::classic(), new my_facet<wchar_t>);
38 assert(my_facet<wchar_t>::count == 1);
40 assert(my_facet<wchar_t>::count == 0);
42 my_facet<wchar_t> f(1);
43 assert(my_facet<wchar_t>::count == 1);
46 assert(my_facet<wchar_t>::count == 1);
48 assert(my_facet<wchar_t>::count == 1);
50 assert(my_facet<wchar_t>::count == 0);