2003-06-28 02:58:58 +04:00
|
|
|
/* cpp - C++ in the kernel
|
|
|
|
**
|
|
|
|
** Initial version by Axel Dörfler, axeld@pinc-software.de
|
|
|
|
** This file may be used under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
|
2004-01-06 03:27:34 +03:00
|
|
|
#if _KERNEL_MODE
|
2003-06-28 02:58:58 +04:00
|
|
|
|
2004-05-05 20:38:32 +04:00
|
|
|
#include "util/kernel_cpp.h"
|
2003-06-28 02:58:58 +04:00
|
|
|
|
2004-01-06 03:27:34 +03:00
|
|
|
const nothrow_t std::nothrow = {};
|
2003-06-28 02:58:58 +04:00
|
|
|
|
2003-10-12 04:46:30 +04:00
|
|
|
#if __GNUC__ == 2
|
|
|
|
|
2003-06-28 02:58:58 +04:00
|
|
|
extern "C" void
|
|
|
|
__pure_virtual()
|
|
|
|
{
|
|
|
|
//printf("pure virtual function call");
|
|
|
|
}
|
|
|
|
|
2003-10-12 04:46:30 +04:00
|
|
|
#elif __GNUC__ >= 3
|
|
|
|
|
|
|
|
extern "C" void
|
|
|
|
__cxa_pure_virtual()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
2004-01-06 03:27:34 +03:00
|
|
|
|
|
|
|
#endif // _#if KERNEL_MODE
|