Commit 57f1de49 by Robert Lipe

Quoting Martin:

[ eb47, eb53, eb89 ] build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
the [eb128.C]

From-SVN: r20185
parent 631253eb
template<class T>
struct A {
typedef T* iterator;
public:
A(){}
};
void f()
{
A<int&> a; // ERROR - pointer to reference
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment