/** Return the name made of language and country name. */
std::string name() const;
+ /** Return a fallback locale for this locale, when giving up, returns empty Locale() */
+ Locale fallback() const;
+
private:
/** Pointer to implementation */
RW_pointer<Impl> _pimpl;
///////////////////////////////////////////////////////////////////
namespace std
{ /////////////////////////////////////////////////////////////////
- /** \relates Locale Default order for std::container based on code string value.*/
+ /** \relates zypp::Locale Default order for std::container based on code string value.*/
template<>
inline bool less<zypp::Locale>::operator()( const zypp::Locale & lhs, const zypp::Locale & rhs ) const
{ return lhs.code() < rhs.code(); }