OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb3.C
1
// Build don't link:
2
#include <complex>
3
template<class T>
4
class Vec {
5
public:
6
Vec() { data = new T; }
7
Vec<T> split() { Vec<T> tmp; operator=(tmp); return tmp; }
8
void operator=(const Vec<T> &v) { data = new T; }
9
T *data;
10
};
11
template class Vec<std::complex<double> >;