Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-07-05 21:41:50 +0300
committerLouis Dionne <ldionne@apple.com>2018-07-05 21:41:50 +0300
commit195a499d638db5157a64c9c816b76154096ecd52 (patch)
treecc8b828d9c2b9f596d7ee41600d0c59efcad2867 /libcxx/include/locale
parentd8f5b2d612d2d612e9d0503752c00b43ed8f4ba7 (diff)
Revert "[libc++] Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY"
This reverts commit r336369. The commit had two problems: 1. __pbump was marked as _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY instead of _LIBCPP_INLINE_VISIBILITY, which lead to two symbols being added in the dylib and the check-cxx-abilist failing. 2. The LLDB tests started failing because they undefine `_LIBCPP_INLINE_VISIBILITY`. I need to figure out why they do that and fix the tests before we can go forward with this change. llvm-svn: 336382
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r--libcxx/include/locale176
1 files changed, 88 insertions, 88 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale
index e240799f3831..52885b768db2 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -573,81 +573,81 @@ public:
typedef _CharT char_type;
typedef _InputIterator iter_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit num_get(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, bool& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, long& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, long long& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, unsigned short& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, unsigned int& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, unsigned long& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, unsigned long long& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, float& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, double& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, long double& __v) const
{
return do_get(__b, __e, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, void*& __v) const
{
@@ -657,7 +657,7 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~num_get() {}
template <class _Fp>
@@ -1261,60 +1261,60 @@ public:
typedef _CharT char_type;
typedef _OutputIterator iter_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit num_put(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
bool __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
long __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
long long __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
unsigned long __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
unsigned long long __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
double __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
long double __v) const
{
return do_put(__s, __iob, __fl, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
const void* __v) const
{
@@ -1324,7 +1324,7 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~num_put() {}
virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl,
@@ -1738,7 +1738,7 @@ protected:
virtual const string_type& __x() const;
virtual const string_type& __X() const;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~__time_get_c_storage() {}
};
@@ -1770,52 +1770,52 @@ public:
typedef time_base::dateorder dateorder;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_get(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
dateorder date_order() const
{
return this->do_date_order();
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get_time(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm* __tm) const
{
return do_get_time(__b, __e, __iob, __err, __tm);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get_date(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm* __tm) const
{
return do_get_date(__b, __e, __iob, __err, __tm);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get_weekday(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm* __tm) const
{
return do_get_weekday(__b, __e, __iob, __err, __tm);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get_monthname(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm* __tm) const
{
return do_get_monthname(__b, __e, __iob, __err, __tm);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get_year(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm* __tm) const
{
return do_get_year(__b, __e, __iob, __err, __tm);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, ios_base& __iob,
ios_base::iostate& __err, tm *__tm,
char __fmt, char __mod = 0) const
@@ -1830,7 +1830,7 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~time_get() {}
virtual dateorder do_date_order() const;
@@ -2399,7 +2399,7 @@ protected:
explicit __time_get_storage(const char* __nm);
explicit __time_get_storage(const string& __nm);
- _LIBCPP_INLINE_VISIBILITY ~__time_get_storage() {}
+ _LIBCPP_ALWAYS_INLINE ~__time_get_storage() {}
time_base::dateorder __do_date_order() const;
@@ -2458,7 +2458,7 @@ class _LIBCPP_TYPE_VIS __time_put
{
locale_t __loc_;
protected:
- _LIBCPP_INLINE_VISIBILITY __time_put() : __loc_(_LIBCPP_GET_C_LOCALE) {}
+ _LIBCPP_ALWAYS_INLINE __time_put() : __loc_(_LIBCPP_GET_C_LOCALE) {}
__time_put(const char* __nm);
__time_put(const string& __nm);
~__time_put();
@@ -2477,14 +2477,14 @@ public:
typedef _CharT char_type;
typedef _OutputIterator iter_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_put(size_t __refs = 0)
: locale::facet(__refs) {}
iter_type put(iter_type __s, ios_base& __iob, char_type __fl, const tm* __tm,
const char_type* __pb, const char_type* __pe) const;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, ios_base& __iob, char_type __fl,
const tm* __tm, char __fmt, char __mod = 0) const
{
@@ -2494,16 +2494,16 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~time_put() {}
virtual iter_type do_put(iter_type __s, ios_base&, char_type, const tm* __tm,
char __fmt, char __mod) const;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_put(const char* __nm, size_t __refs)
: locale::facet(__refs),
__time_put(__nm) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_put(const string& __nm, size_t __refs)
: locale::facet(__refs),
__time_put(__nm) {}
@@ -2572,16 +2572,16 @@ class _LIBCPP_TEMPLATE_VIS time_put_byname
: public time_put<_CharT, _OutputIterator>
{
public:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_put_byname(const char* __nm, size_t __refs = 0)
: time_put<_CharT, _OutputIterator>(__nm, __refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit time_put_byname(const string& __nm, size_t __refs = 0)
: time_put<_CharT, _OutputIterator>(__nm, __refs) {}
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~time_put_byname() {}
};
@@ -2596,7 +2596,7 @@ public:
enum part {none, space, symbol, sign, value};
struct pattern {char field[4];};
- _LIBCPP_INLINE_VISIBILITY money_base() {}
+ _LIBCPP_ALWAYS_INLINE money_base() {}
};
// moneypunct
@@ -2610,25 +2610,25 @@ public:
typedef _CharT char_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit moneypunct(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY char_type decimal_point() const {return do_decimal_point();}
- _LIBCPP_INLINE_VISIBILITY char_type thousands_sep() const {return do_thousands_sep();}
- _LIBCPP_INLINE_VISIBILITY string grouping() const {return do_grouping();}
- _LIBCPP_INLINE_VISIBILITY string_type curr_symbol() const {return do_curr_symbol();}
- _LIBCPP_INLINE_VISIBILITY string_type positive_sign() const {return do_positive_sign();}
- _LIBCPP_INLINE_VISIBILITY string_type negative_sign() const {return do_negative_sign();}
- _LIBCPP_INLINE_VISIBILITY int frac_digits() const {return do_frac_digits();}
- _LIBCPP_INLINE_VISIBILITY pattern pos_format() const {return do_pos_format();}
- _LIBCPP_INLINE_VISIBILITY pattern neg_format() const {return do_neg_format();}
+ _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
+ _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
+ _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
+ _LIBCPP_ALWAYS_INLINE string_type curr_symbol() const {return do_curr_symbol();}
+ _LIBCPP_ALWAYS_INLINE string_type positive_sign() const {return do_positive_sign();}
+ _LIBCPP_ALWAYS_INLINE string_type negative_sign() const {return do_negative_sign();}
+ _LIBCPP_ALWAYS_INLINE int frac_digits() const {return do_frac_digits();}
+ _LIBCPP_ALWAYS_INLINE pattern pos_format() const {return do_pos_format();}
+ _LIBCPP_ALWAYS_INLINE pattern neg_format() const {return do_neg_format();}
static locale::id id;
static const bool intl = _International;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~moneypunct() {}
virtual char_type do_decimal_point() const {return numeric_limits<char_type>::max();}
@@ -2668,16 +2668,16 @@ public:
typedef _CharT char_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit moneypunct_byname(const char* __nm, size_t __refs = 0)
: moneypunct<_CharT, _International>(__refs) {init(__nm);}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit moneypunct_byname(const string& __nm, size_t __refs = 0)
: moneypunct<_CharT, _International>(__refs) {init(__nm.c_str());}
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~moneypunct_byname() {}
virtual char_type do_decimal_point() const {return __decimal_point_;}
@@ -2723,7 +2723,7 @@ protected:
typedef _CharT char_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY __money_get() {}
+ _LIBCPP_ALWAYS_INLINE __money_get() {}
static void __gather_info(bool __intl, const locale& __loc,
money_base::pattern& __pat, char_type& __dp,
@@ -2781,18 +2781,18 @@ public:
typedef _InputIterator iter_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit money_get(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob,
ios_base::iostate& __err, long double& __v) const
{
return do_get(__b, __e, __intl, __iob, __err, __v);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob,
ios_base::iostate& __err, string_type& __v) const
{
@@ -2803,7 +2803,7 @@ public:
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~money_get() {}
virtual iter_type do_get(iter_type __b, iter_type __e, bool __intl,
@@ -3163,7 +3163,7 @@ protected:
typedef _CharT char_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY __money_put() {}
+ _LIBCPP_ALWAYS_INLINE __money_put() {}
static void __gather_info(bool __intl, bool __neg, const locale& __loc,
money_base::pattern& __pat, char_type& __dp,
@@ -3339,18 +3339,18 @@ public:
typedef _OutputIterator iter_type;
typedef basic_string<char_type> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit money_put(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl,
long double __units) const
{
return do_put(__s, __intl, __iob, __fl, __units);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
iter_type put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl,
const string_type& __digits) const
{
@@ -3360,7 +3360,7 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~money_put() {}
virtual iter_type do_put(iter_type __s, bool __intl, ios_base& __iob,
@@ -3489,7 +3489,7 @@ class _LIBCPP_TYPE_VIS messages_base
public:
typedef ptrdiff_t catalog;
- _LIBCPP_INLINE_VISIBILITY messages_base() {}
+ _LIBCPP_ALWAYS_INLINE messages_base() {}
};
template <class _CharT>
@@ -3501,24 +3501,24 @@ public:
typedef _CharT char_type;
typedef basic_string<_CharT> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit messages(size_t __refs = 0)
: locale::facet(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
catalog open(const basic_string<char>& __nm, const locale& __loc) const
{
return do_open(__nm, __loc);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
string_type get(catalog __c, int __set, int __msgid,
const string_type& __dflt) const
{
return do_get(__c, __set, __msgid, __dflt);
}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
void close(catalog __c) const
{
do_close(__c);
@@ -3527,7 +3527,7 @@ public:
static locale::id id;
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~messages() {}
virtual catalog do_open(const basic_string<char>&, const locale&) const;
@@ -3600,16 +3600,16 @@ public:
typedef messages_base::catalog catalog;
typedef basic_string<_CharT> string_type;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit messages_byname(const char*, size_t __refs = 0)
: messages<_CharT>(__refs) {}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
explicit messages_byname(const string&, size_t __refs = 0)
: messages<_CharT>(__refs) {}
protected:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
~messages_byname() {}
};
@@ -3637,43 +3637,43 @@ private:
wstring_convert(const wstring_convert& __wc);
wstring_convert& operator=(const wstring_convert& __wc);
public:
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
_LIBCPP_EXPLICIT_AFTER_CXX11 wstring_convert(_Codecvt* __pcvt = new _Codecvt);
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
wstring_convert(_Codecvt* __pcvt, state_type __state);
_LIBCPP_EXPLICIT_AFTER_CXX11 wstring_convert(const byte_string& __byte_err,
const wide_string& __wide_err = wide_string());
#ifndef _LIBCPP_CXX03_LANG
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
wstring_convert(wstring_convert&& __wc);
#endif
~wstring_convert();
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
wide_string from_bytes(char __byte)
{return from_bytes(&__byte, &__byte+1);}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
wide_string from_bytes(const char* __ptr)
{return from_bytes(__ptr, __ptr + char_traits<char>::length(__ptr));}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
wide_string from_bytes(const byte_string& __str)
{return from_bytes(__str.data(), __str.data() + __str.size());}
wide_string from_bytes(const char* __first, const char* __last);
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
byte_string to_bytes(_Elem __wchar)
{return to_bytes(&__wchar, &__wchar+1);}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
byte_string to_bytes(const _Elem* __wptr)
{return to_bytes(__wptr, __wptr + char_traits<_Elem>::length(__wptr));}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
byte_string to_bytes(const wide_string& __wstr)
{return to_bytes(__wstr.data(), __wstr.data() + __wstr.size());}
byte_string to_bytes(const _Elem* __first, const _Elem* __last);
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
size_t converted() const _NOEXCEPT {return __cvtcount_;}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_ALWAYS_INLINE
state_type state() const {return __cvtstate_;}
};