
encountered any definition for the class; this happens when the definition is added by an update record that is not yet loaded. In such a case, eagerly pick the original parent of the member as the canonical definition of the class rather than muddling through with the canonical declaration (the latter can lead to us failing to merge properly later if the canonical definition turns out to be some other declaration). llvm-svn: 226977
15 lines
378 B
Plaintext
15 lines
378 B
Plaintext
namespace std {
|
|
template <typename, typename Container> struct normal_iterator {
|
|
normal_iterator() {}
|
|
|
|
template <typename I>
|
|
normal_iterator(normal_iterator<I, typename Container::iterator>) {}
|
|
};
|
|
|
|
template <typename pointer> struct basic_string {
|
|
typedef normal_iterator<pointer, basic_string> iterator;
|
|
};
|
|
|
|
typedef basic_string<wchar_t *> wstring;
|
|
}
|