//b_facet.h
class base_facet : public locale::facet { public: static locale::id& GetFacetLocaleId(); // in place of static locale::id id; };
In the source file define the method GetFacetLocaleId().
//b_facet.cpp locale::id base_facet_id; locale::id& base_facet::GetFacetLocaleId() { return base_facet_id; }
© 2008 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |