Add support for friend templates, including operator overloading.
Closes #196.
This commit is contained in:
parent
e044dc4405
commit
428b6176df
10 changed files with 146 additions and 3 deletions
|
|
@ -6453,8 +6453,8 @@ idcolon : idtemplate idcolontail {
|
|||
| NONID DCOLON idtemplate {
|
||||
$$ = NewStringf("::%s",$3);
|
||||
}
|
||||
| OPERATOR {
|
||||
$$ = NewString($1);
|
||||
| OPERATOR template_decl {
|
||||
$$ = NewStringf("%s%s",$1,$2);
|
||||
}
|
||||
| NONID DCOLON OPERATOR {
|
||||
$$ = NewStringf("::%s",$3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue