c++/2490: gcc rejects partial specialization of member function

nillius@nada.kth.se nillius@nada.kth.se
Thu Apr 5 02:06:00 GMT 2001


>Number:         2490
>Category:       c++
>Synopsis:       gcc rejects partial specialization of member function
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 05 02:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Peter Nillius
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
sparc-sun-solaris2.6
>Description:
Gcc rejects a legal partial specialization of a template 
member function.

I doesn't work on the online compilation with the 
gcc 3.0 snapshot.
>How-To-Repeat:
g++ -o b3 b3.C
>Fix:
A workaround is a to add an extra function declaration for
specialized member function.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-tar; name="b3.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="b3.tar.gz"

H4sICM4xzDoAA2IzLnRhcgDtPWtz20aS+Ur+irFcUUiJkvnQwyYlp2yv43VVLtnNZqu2kkthQQCk
sIYALgBK8trKb7/unjcwAKlY8l1dGYlFYKZfM9PT090zIOeTw1dfPfA1HA2HJ0dHXw2Hx5PJ8Sl8
wjU54Z9wnUzGXw1PxyeT4fj0+AThRuPhKcA9tGB4rYvSz4FlGidJvC5a4PJWOqItKPwIWnvfYj7U
9ThOg2QdRuwszooyj/zLw4vn3W4ZXa4Sv4TiIPGLgv08YOLm5+ddgFsHJXvJPnRvZ135+AIeGVyt
qAhwlcUhW6zToBdkaQF0zn4eQB3bnfdnRLCdO6G/YNNpA40uFyOI8pydnbEdhNrBuygNE2DgIN9C
NE5LJ9ViFVWoAiS79OO0J2FfMB8ag3f+IVF9eQYwgzBbz5Poea8Pra1VIjuque1+nvGfTw7j+IF5
tM//k9HwWM7/yfDklKbQeDIafZn/n+F6zEZsB5Tg1U6Xbp+s3i2fLIPgyfjw2fHh+ElWPEniOZY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