Re: template C++ mailing lists
Re: template C++ mailing lists
- Subject: Re: template C++ mailing lists
- From: "Clark Cox" <email@hidden>
- Date: Fri, 23 Feb 2007 07:37:04 -0500
On 2/22/07, Stefan Werner <email@hidden> wrote:
On Feb 22, 2007, at 8:06 PM, Thomas Engelmeier wrote:
>> Also, when dealing with C++ and templates: Build/Preprocss is your
>> best friend!
>
> What have templates to do with the preprocessor?
> They were partially invented to get rid of dirty C macro tricks....
Yes, and templates too get expanded by the preprocessor. So if you
want to see the same code that the compiler sees (and in cases, gives
you error messages about), is what comes out of the preprocessing step.
You're mistaken. The preprocessor does absolutely nothing with
templates. The preprocessor deals with #define macros, and #include
directives, as well as #if... conditional compilation.
--
Clark S. Cox III
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden