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

Lines Matching refs:my_facet

21 class my_facet
27 explicit my_facet(std::size_t refs = 0)
30 ~my_facet() {--count;}
33 int my_facet::count = 0;
38 std::locale l(std::locale::classic(), new my_facet);
39 assert(my_facet::count == 1);
41 assert(my_facet::count == 0);
43 my_facet f(1);
44 assert(my_facet::count == 1);
47 assert(my_facet::count == 1);
49 assert(my_facet::count == 1);
51 assert(my_facet::count == 0);