blob: d29585f48a31480ccaa43ca7c900103bc10961cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
/* At one time this triggered ICEs with location wrapper nodes,
apparently requiring error-recovery (hence the various syntax
errors in this file. */
// { dg-excess-errors "expected to be full of errors, but not an ICE" }
namespace std
{
inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
}
namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
{
template<typename _Tp>
class new_allocator
{
typedef _Tp value_type;
};
}
namespace std
{
template<typename _Tp>
using __allocator_base = __gnu_cxx::new_allocator<_Tp>;
}
namespace std __attribute__ ((__visibility__ ("default")))
{
{
};
template<typename _Tp>
class allocator : public __allocator_base<_Tp>
{
};
template<typename _Alloc>
struct allocator_traits : __allocator_traits_base
{
};
template<typename _Tp>
struct allocator_traits<allocator<_Tp>>
{
using allocator_type = allocator<_Tp>;
template<typename _Up>
using rebind_alloc = allocator<_Up>;
allocate(allocator_type& __a, size_type __n)
};
}
namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
{
template<typename _Alloc, typename = typename _Alloc::value_type>
struct __alloc_traits
: std::allocator_traits<_Alloc>
{
typedef std::allocator_traits<_Alloc> _Base_type;
template<typename _Tp>
struct rebind
{ typedef typename _Base_type::template rebind_alloc<_Tp> other; };
};
{
{
}
}
}
{
{
}
}
namespace std __attribute__ ((__visibility__ ("default")))
{
struct char_traits;
namespace __cxx11 {
template<typename _CharT, typename _Traits = char_traits<_CharT>,
typename _Alloc = allocator<_CharT> >
class basic_string;
}
}
namespace std __attribute__ ((__visibility__ ("default")))
{
namespace __cxx11 {
template<typename _CharT, typename _Traits, typename _Alloc>
class basic_string
{
typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template
rebind<_CharT>::other _Char_alloc_type;
typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits;
public:
{
{
}
}
operator=(const basic_string& __str)
{
{
{
{
const auto __len = __str.size();
auto __alloc = __str._M_get_allocator();
auto __ptr = _Alloc_traits::allocate(__alloc, __len + 1);
}
}
}
}
{
}
size() const noexcept
}
namespace filesystem
{
class path
{
typedef char value_type;
typedef std::basic_string<value_type> string_type;
{
}
string_type _M_pathname;
};
class directory_entry
{
void assign(const filesystem::path& __p) { _M_path = __p; }
filesystem::path _M_path;
|