Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
SF Bug #1365.
This commit is contained in:
parent
b0e809d94b
commit
1d857beb9d
3 changed files with 15 additions and 1 deletions
|
|
@ -24,6 +24,14 @@ public:
|
|||
int operator<<(ABC &) { return 0; }
|
||||
};
|
||||
|
||||
class DEF {
|
||||
public:
|
||||
int a;
|
||||
int operator<<(DEF &) { return 0; }
|
||||
int operator>>(DEF &) { return 0; }
|
||||
};
|
||||
|
||||
|
||||
template<class T>
|
||||
class ABC2 {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue