Home | History | Annotate | Download | only in bits

Lines Matching defs:facet

72     class facet;
76 friend class facet;
169 * @brief Construct locale with another facet.
171 * Constructs a copy of the locale @a __other. The facet @a __f
172 * is added to @a __other, replacing an existing facet of type
173 * Facet if there is one. If @a __f is null, this locale is a
177 * @param __f The facet to add in.
197 * @brief Construct locale with another facet.
200 * existing facet of type Facet from the locale @a other into the new
203 * @tparam _Facet The facet type to copy from other
206 * @throw std::runtime_error if __other has no facet of type _Facet.
244 * the collate facet in this locale. One use is to provide the locale to
253 * @return True if collate<_Char> facet compares __s1 < __s2, else false.
329 // 22.1.1.1.2 Class locale::facet
334 * The facet class is the base class for a localization feature, such as
340 class locale::facet
363 * @brief Facet constructor.
366 * facet is destroyed when the last referencing locale is destroyed.
367 * Otherwise the facet will never be destroyed.
372 facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0)
375 /// Facet destructor.
377 ~facet();
420 facet(const facet&); // Not defined.
422 facet&
423 operator=(const facet&); // Not defined.
429 * @brief Facet ID class.
433 * Every facet class must define a public static member locale::id, or be
434 * derived from a facet that provides this member, otherwise the facet
482 friend class locale::facet;
498 const facet** _M_facets;
500 const facet** _M_caches;
561 _M_install_facet(const locale::id*, const facet*);
569 _M_install_cache(const facet*, size_t);
574 * @brief Facet for localized string comparison.
576 * This facet encapsulates the code to compare strings in a localized
583 * collate facet.
586 class collate : public locale::facet
602 /// Numpunct facet id.
610 * @param __refs Passed to the base facet class.
614 : facet(__refs), _M_c_locale_collate(_S_get_c_locale())
624 * @param __refs Passed to the base facet class.
628 : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc))