Remove unused typedefs in random and regex
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6044,9 +6044,6 @@ basic_istream<_CharT, _Traits>&
|
|||||||
operator>>(basic_istream<_CharT, _Traits>& __is,
|
operator>>(basic_istream<_CharT, _Traits>& __is,
|
||||||
discrete_distribution<_IT>& __x)
|
discrete_distribution<_IT>& __x)
|
||||||
{
|
{
|
||||||
typedef discrete_distribution<_IT> _Eng;
|
|
||||||
typedef typename _Eng::result_type result_type;
|
|
||||||
typedef typename _Eng::param_type param_type;
|
|
||||||
__save_flags<_CharT, _Traits> __lx(__is);
|
__save_flags<_CharT, _Traits> __lx(__is);
|
||||||
__is.flags(ios_base::dec | ios_base::skipws);
|
__is.flags(ios_base::dec | ios_base::skipws);
|
||||||
size_t __n;
|
size_t __n;
|
||||||
@@ -6358,7 +6355,6 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|||||||
{
|
{
|
||||||
typedef piecewise_constant_distribution<_RT> _Eng;
|
typedef piecewise_constant_distribution<_RT> _Eng;
|
||||||
typedef typename _Eng::result_type result_type;
|
typedef typename _Eng::result_type result_type;
|
||||||
typedef typename _Eng::param_type param_type;
|
|
||||||
__save_flags<_CharT, _Traits> __lx(__is);
|
__save_flags<_CharT, _Traits> __lx(__is);
|
||||||
__is.flags(ios_base::dec | ios_base::skipws);
|
__is.flags(ios_base::dec | ios_base::skipws);
|
||||||
size_t __n;
|
size_t __n;
|
||||||
@@ -6698,7 +6694,6 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|||||||
{
|
{
|
||||||
typedef piecewise_linear_distribution<_RT> _Eng;
|
typedef piecewise_linear_distribution<_RT> _Eng;
|
||||||
typedef typename _Eng::result_type result_type;
|
typedef typename _Eng::result_type result_type;
|
||||||
typedef typename _Eng::param_type param_type;
|
|
||||||
__save_flags<_CharT, _Traits> __lx(__is);
|
__save_flags<_CharT, _Traits> __lx(__is);
|
||||||
__is.flags(ios_base::dec | ios_base::skipws);
|
__is.flags(ios_base::dec | ios_base::skipws);
|
||||||
size_t __n;
|
size_t __n;
|
||||||
|
|||||||
@@ -4065,7 +4065,6 @@ basic_regex<_CharT, _Traits>::__parse_collating_symbol(_ForwardIterator __first,
|
|||||||
throw regex_error(regex_constants::error_brack);
|
throw regex_error(regex_constants::error_brack);
|
||||||
#endif // _LIBCPP_NO_EXCEPTIONS
|
#endif // _LIBCPP_NO_EXCEPTIONS
|
||||||
// [__first, __temp) contains all text in [. ... .]
|
// [__first, __temp) contains all text in [. ... .]
|
||||||
typedef typename _Traits::string_type string_type;
|
|
||||||
__col_sym = __traits_.lookup_collatename(__first, __temp);
|
__col_sym = __traits_.lookup_collatename(__first, __temp);
|
||||||
switch (__col_sym.size())
|
switch (__col_sym.size())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user