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 02/06/2010 17:22, Richard Guenther wrote:

> template<typename T>
> void mark(const T&) { gcc_unreachable (); }
> 
> we might be safe to not miss implementations for something gengtype
> does not handle itself.

  Wouldn't

template<typename T>
void mark(const T&) { gcc_does_not_exist_causes_link_failure (); }

do an even better job of that?

    cheers,
      DaveK


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