| 1 | namespace std { |
|---|---|
| 2 | template <typename _Tp, typename _Alloc = int> |
| 3 | struct vector { |
| 4 | static void func() { vector *i, *j; i - j; } |
| 5 | }; |
| 6 | |
| 7 | struct bit_iterator { ~bit_iterator() {} }; |
| 8 | |
| 9 | inline void operator-(int __x, const bit_iterator &__y) { |
| 10 | } |
| 11 | |
| 12 | template <typename _Alloc> |
| 13 | struct vector<bool, _Alloc> : bit_iterator { |
| 14 | typedef bit_iterator iterator; |
| 15 | }; |
| 16 | |
| 17 | } // namespace std |
| 18 |