16 Mar
2005
16 Mar
'05
1:27 a.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