1 | //===----------------------------------------------------------------------===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | // <iterator> |
10 | |
11 | // back_insert_iterator |
12 | |
13 | // explicit back_insert_iterator(Cont& x); |
14 | |
15 | // test for explicit |
16 | |
17 | #include <iterator> |
18 | #include <vector> |
19 | |
20 | int main(int, char**) |
21 | { |
22 | std::vector<int> v; |
23 | std::back_insert_iterator<std::vector<int> > i = v; |
24 | |
25 | return 0; |
26 | } |
27 | |