This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


On 06/02/2010 03:01 PM, Gabriel Dos Reis wrote:
In the guidelines, I would like to include:
    (2) if you define a class template used mostly with pointer type arguments,
         consider specializing for void* (or const void*) and define all other
         pointer specialization in terms of that.

I have no idea what you're saying. :-) What do you mean by "define all other pointer specialization in terms of that"? Wouldn't specializing on T* just work?


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]