Lines Matching refs:facet
70 class facet;
74 friend class facet;
167 * @brief Construct locale with another facet.
169 * Constructs a copy of the locale @a __other. The facet @a __f
170 * is added to @a __other, replacing an existing facet of type
171 * Facet if there is one. If @a __f is null, this locale is a
175 * @param __f The facet to add in.
195 * @brief Construct locale with another facet.
198 * existing facet of type Facet from the locale @a other into the new
201 * @tparam _Facet The facet type to copy from other
204 * @throw std::runtime_error if __other has no facet of type _Facet.
242 * the collate facet in this locale. One use is to provide the locale to
251 * @return True if collate<_Char> facet compares __s1 < __s2, else false.
327 // 22.1.1.1.2 Class locale::facet
332 * The facet class is the base class for a localization feature, such as
338 class locale::facet
361 * @brief Facet constructor.
364 * facet is destroyed when the last referencing locale is destroyed.
365 * Otherwise the facet will never be destroyed.
370 facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0)
373 /// Facet destructor.
375 ~facet();
418 facet(const facet&); // Not defined.
420 facet&
421 operator=(const facet&); // Not defined.
427 * @brief Facet ID class.
431 * Every facet class must define a public static member locale::id, or be
432 * derived from a facet that provides this member, otherwise the facet
480 friend class locale::facet;
496 const facet** _M_facets;
498 const facet** _M_caches;
559 _M_install_facet(const locale::id*, const facet*);
567 facet*, size_t);
572 * @brief Facet for localized string comparison.
574 * This facet encapsulates the code to compare strings in a localized
581 * collate facet.
584 class collate : public locale::facet
600 /// Numpunct facet id.
608 * @param __refs Passed to the base facet class.
612 : facet(__refs), _M_c_locale_collate(_S_get_c_locale())
622 * @param __refs Passed to the base facet class.
626 : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc))