C++ templates

Uwe Dannowski Uwe.Dannowski at ira.uka.de
Wed Mar 16 01:27:45 CET 2005


Jonathan S. Shapiro wrote:
> Templates almost universally rely on exceptions, because operator new is
> specified as allowed to throw an exception. Regrettably, support for
> that is in stdlibc++.

I can't find where the use of templates would imply the use or require
the existence of the new operator. We happily (ab)use templates in
L4Ka::Pistachio without any new operator or support for C++ exceptions.

Uwe




More information about the l4-hackers mailing list