mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 17:37:43 +08:00
Use <vector> rather than <vector.h>.
From-SVN: r37256
This commit is contained in:
parent
4e2c8d44e8
commit
8d48367bef
@ -1,5 +1,8 @@
|
||||
//Build don't link:
|
||||
#include <vector.h>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
enum s { S };
|
||||
class a
|
||||
{
|
||||
|
@ -1,5 +1,8 @@
|
||||
//Build don't link:
|
||||
#include <vector.h>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
enum s { S };
|
||||
class a
|
||||
{
|
||||
|
@ -3,8 +3,11 @@
|
||||
// The first one should still fail because it requires an implicit conversion
|
||||
// to pointer_to_binary_function, which has an `explicit' constructor.
|
||||
|
||||
#include <vector.h>
|
||||
#include <algo.h>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
using namespace std;
|
||||
|
||||
template <class T> class Expr
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user