Template Specializaton in Builder 3

I have a skeleton of a templat class A. The class has a specialization for one of its member functions (operator () specialized for char) This works fine when I compile it in VC 5 (compiles and executes appropraitely). However, when I compile it in Borland C++ Builder 3, I get the error that

nietod... ok this is my answer... meanwile if You'll look at natlib solution (it is nlcompat.h/nlcmptex.h/nlbc.h/nlmsc.h headers) it provides import/export/template expand tools that are work for BC 4.5/5.x

That's what I'm afraid of. But I was under the impression that Builder 3 conforms to the standard. So I'm hoping to find some proof, or some indication that my syntax is incorrect and that the correct syntax works.

or even create explicit redefinition of entire class :( It's very sad... bu Borland's compiler is not so compatible any more... I had some other examples of their bugs... that forced me to switch primarily to VC 5/6 :(

That gives me a new syntax error. But I was getting tired of the old...

>> even create explicit redefinition of entire class
I thought of that and I could do that in this case, but haven't gotten around to it. However, in general, that's not a realistic solutions, you may want to specialize one little member out of hundreds. I'll see if I can fool with that today.

>>Borland's compiler is not so compatible any more... I had some
>> other examples of their bugs... that forced me to switch primarily
>> to VC 5/6
But Borland is so much faster. I make a change to my library and run an incremental compile and have to wait 35 minutes on a Pentium 300 with 1/4 Gig of RAM for VC to tell me I have a syntax error and have to do it again. Borland does the same compile ussually in under a minute and never more than 5.

nietod: Yes You are right...but... i hed a chance to compare the Borland generated exe with VC one... (the same source code just different compilations) so i found as minimum 20% difference in real speed under Win32.... (in both cases optimizations was setted to speed , according to borland/microsoft recomendations)
and VC5 SP2 (not SP3) has much less hidden problems (like not calling the destructor if exception is thrown sometimes) than Borland... I'm still using borland to test compatibility of my source code and get some warnings that may be important... but I can't (unfortunately) tell that Borland C++ is the best compiler anymore....

As to VC verses Builder, I haven't made a decision on what is better for the final product. The enourmous speed difference I see is in compile time (more than a factor of 10!) In the final product, the builder code seems like it might be faster and it is smaller, but I don't trust it as being as solid. I have found bugs in their library and have not in VC's. The only reason I use builder in development is that I can compile faster. However when it comes time for real debuging I have to switch back to VC and do a compile there. But at least that way I don't have to wait 30 minutes for VC to tell me I have syntax errors and need to compile again.

ok... in my case it fault (multiple posts) of my proxy server... :(.. actually it may be caused by next scenario...

You answering or commenting... than Your brouser loading the result (next page) ... and You or Your proxy (intelligent :( ) sends refresh.... and reposts the form data :(.... that causes the multiply reposts...

I've been here a year and there were old suggestions to fix it when I got here. I don't know if you know this or not, but the EE staff, including programmers, is entirely volunteer. So improvements happen slowly.

nietod... ok this is my answer... meanwile if You'll look at natlib solution (it is nlcompat.h/nlcmptex.h/nlbc.h/nlmsc.h headers) it provides import/export/template expand tools that are work for BC 4.5/5.x and MSVC 5(SP2)/6(relase candidate)/6 compiler... it's checked....
Good luck

I was going to write you about that stuff you sent this weekend, but since you brought it up the day has been unusually productive...

First of all, do you still want me to look over those files? if so what sort of things are you interested in? I assume you are confidant in the basic implimentation.

Second of all, and this probably gets back to my original criticism, I have no clue how to use the stuff in those libraries that you suggested in your answer. If I poor over the code I can probably figure it out, but I could write what I need faster. That is why I said you needed better documentation.

By the way, did I respond to your last letter? I was going away and kept putting it off, did I ever send anything?

This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++.
The reason I built this class is to ease the pain of using XML files with C++, since there is…

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …

The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…