This is the mail archive of the gcc-bugs@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]

[Bug c++/15882] Check for return type of overloaded operator new too early


------- Additional Comments From bangerth at dealii dot org  2004-06-08 21:22 -------
Hm, I see. The sentence in the standard sounds like an oversight, though: even if the 
return type and first argument are 'as specified above', I can still do so while using 
template arguments, as shown in the example program, and I believe that this would 
be a useful thing. Besides, the standard talks about 'template parameter types' when  
it could also be 'template parameter values'.  
 
Would something like this justify a DR? Gaby, Jason, you are more experience in 
these matters than I am. Would you mind commenting? 
 
Thanks 
  Wolfgang 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org,
                   |                            |jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15882


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