* @brief Access to format flags.
* @return The format control flags for both input and output.
*/
- inline fmtflags
- flags() const { return _M_flags; }
+ fmtflags
+ flags() const
+ { return _M_flags; }
/**
* @brief Setting new format flags all at once.
*
* This function overwrites all the format flags with @a fmtfl.
*/
- inline fmtflags
+ fmtflags
flags(fmtflags __fmtfl)
{
fmtflags __old = _M_flags;
* This function sets additional flags in format control. Flags that
* were previously set remain set.
*/
- inline fmtflags
+ fmtflags
setf(fmtflags __fmtfl)
{
fmtflags __old = _M_flags;
* This function clears @a mask in the format flags, then sets
* @a fmtfl @c & @a mask. An example mask is @c ios_base::adjustfield.
*/
- inline fmtflags
+ fmtflags
setf(fmtflags __fmtfl, fmtflags __mask)
{
fmtflags __old = _M_flags;
*
* This function clears @a mask in the format flags.
*/
- inline void
- unsetf(fmtflags __mask) { _M_flags &= ~__mask; }
+ void
+ unsetf(fmtflags __mask)
+ { _M_flags &= ~__mask; }
/**
* @brief Flags access.
* DR 189.
* @endif
*/
- inline streamsize
- precision() const { return _M_precision; }
+ streamsize
+ precision() const
+ { return _M_precision; }
/**
* @brief Changing flags.
* @param prec The new precision value.
* @return The previous value of precision().
*/
- inline streamsize
+ streamsize
precision(streamsize __prec)
{
streamsize __old = _M_precision;
*
* "Minimum field width" refers to the number of characters.
*/
- inline streamsize
- width() const { return _M_width; }
+ streamsize
+ width() const
+ { return _M_width; }
/**
* @brief Changing flags.
* @param wide The new width value.
* @return The previous value of width().
*/
- inline streamsize
+ streamsize
width(streamsize __wide)
{
streamsize __old = _M_width;
* returns @c loc. Otherwise, it returns a copy of @c std::locale(),
* the global C++ locale.
*/
- inline locale
- getloc() const { return _M_ios_locale; }
+ locale
+ getloc() const
+ { return _M_ios_locale; }
/**
* @brief Locale access
* Like getloc above, but returns a reference instead of
* generating a copy.
*/
- inline const locale&
- _M_getloc() const { return _M_ios_locale; }
+ const locale&
+ _M_getloc() const
+ { return _M_ios_locale; }
// [27.4.2.5] ios_base storage functions
/**
* obtain an index that is safe to use. Also note that since the array
* can grow dynamically, it is not safe to hold onto the reference.
*/
- inline long&
+ long&
iword(int __ix)
{
_Words& __word = (__ix < _M_word_size)
* obtain an index that is safe to use. Also note that since the array
* can grow dynamically, it is not safe to hold onto the reference.
*/
- inline void*&
+ void*&
pword(int __ix)
{
_Words& __word = (__ix < _M_word_size)
* @param other The locale to compare against.
* @return ! (*this == other)
*/
- inline bool
+ bool
operator!=(const locale& __other) const throw ()
- { return !(this->operator==(__other)); }
+ { return !(this->operator==(__other)); }
/**
* @brief Compare two strings according to collate.
_S_get_c_name();
private:
- inline void
+ void
_M_add_reference() const throw()
{ __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); }
- inline void
+ void
_M_remove_reference() const throw()
{
if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1)
static const locale::id* const _S_id_messages[];
static const locale::id* const* const _S_facet_categories[];
- inline void
+ void
_M_add_reference() throw()
{ __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); }
- inline void
+ void
_M_remove_reference() throw()
{
if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1)
void
operator=(const _Impl&); // Not defined.
- inline bool
+ bool
_M_check_same_name()
{
bool __ret = true;
_M_install_facet(const locale::id*, const facet*);
template<typename _Facet>
- inline void
+ void
_M_init_facet(_Facet* __facet)
{ _M_install_facet(&_Facet::id, __facet); }