15 Mar
2005
15 Mar
'05
6:27 p.m.
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