|
|
Comments and Discussions
|
|
 |

|
Um... nice article - and, yeah, you know the moustache looks ok, you know...
But no mention of partial template specializations? Hmmm...
You know, you have to respect the guys who write these compilers. Not easy stuff. And there are aspects of compiling templated constructs that must be absolutely grotty.
I've often wondered if its just an approach that MS decided on in its template compilation design that makes PTS even more difficult.
Moot I guess.
Again, nice article. Good luck!
|
|
|
|

|
Heh, the article would be 50 pages long if Chris tried to ask about ever user's gripe.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|

|
Tim Smith wrote:
Heh, the article would be 50 pages long if Chris tried to ask about ever user's gripe.
But hey! That's his job! I mean that's what we pa-
oh... yeah...
...never mind.
|
|
|
|

|
hehehehe
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|

|
It's already been stated that PTS is working, and Loki compiling at Microsoft internally. Herb may have thought it was old news - we are guarenteed PTS in the first service pack which is due mid year AFAIK.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002
|
|
|
|

|
While working on a MSVC port of Loki, me and a few others before me, stumbled upon a (perhaps accidental) M$ extention of C++ templates. The M$ compilers allow you to specialize nested template classes, which can be used a work-around for the lack of PTS in many (though not all) cases.
You can implement any PTS of the 'partially-specified template paremeters' flavor; but you cannot implement the 'special behavior with this combination of parameters'. With that you turn to aggregation, MI, and overloaded functions. Very messy compared to the straight-forward PTS implementations... but it can be done.
- Magmai Kai Holmlor
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Herb Sutter has just joined Microsoft as their new Visual C++ .NET community guy. Read about who he is, what he does, and what is happening with our beloved Visual C++.
| Type | Article |
| Licence | CPOL |
| First Posted | 12 Mar 2002 |
| Views | 354,382 |
| Bookmarked | 18 times |
|
|