blob: 5b36b20dc183544eee7d790151b9de5f53c963c4 (
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
|
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <iterator>
// front_insert_iterator
// explicit front_insert_iterator(Cont& x);
#include <iterator>
#include <list>
template <class C>
void
test(C c)
{
std::front_insert_iterator<C> i(c);
}
int main()
{
test(std::list<int>());
}
|