public:
/** Offer default Impl. */
static shared_ptr<Impl> nullimpl()
- { if ( ! _nullimpl ) _nullimpl.reset( new Impl ); return _nullimpl; }
-
- private:
- /** Default Impl. */
- static shared_ptr<Impl> _nullimpl;
+ {
+ static shared_ptr<Impl> _nullimpl( new Impl );
+ return _nullimpl;
+ }
};
///////////////////////////////////////////////////////////////////
- shared_ptr<Locale::Impl> Locale::Impl::_nullimpl;
-
- ///////////////////////////////////////////////////////////////////
-
/** \relates Locale::Impl Stream output */
inline std::ostream & operator<<( std::ostream & str, const Locale::Impl & obj )
{
//
///////////////////////////////////////////////////////////////////
-#warning NO STATIC VARIABLES
-// const Locale Locale::noCode;
+ const Locale Locale::noCode;
///////////////////////////////////////////////////////////////////
//