.TH "std::locale::id" 3cxx "Fri Dec 19 2014" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::locale::id \- .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBid\fP ()" .br .ti -1c .RI "size_t \fB_M_id\fP () const throw ()" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template bool \fBhas_facet\fP (const \fBlocale\fP &) throw ()" .br .ti -1c .RI "class \fBlocale\fP" .br .ti -1c .RI "class \fBlocale::_Impl\fP" .br .ti -1c .RI "template const _Facet & \fBuse_facet\fP (const \fBlocale\fP &)" .br .in -1c .SH "Detailed Description" .PP Facet ID class\&. .PP The ID class provides facets with an index used to identify them\&. Every facet class must define a public static member locale::id, or be derived from a facet that provides this member, otherwise the facet cannot be used in a locale\&. The locale::id ensures that each class type gets a unique identifier\&. .PP Definition at line 436 of file locale_classes\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "std::locale::id::id ()\fC [inline]\fP" .PP Constructor\&. .PP Definition at line 467 of file locale_classes\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.