stdexcepti.cpp
来自「vxworks源码源码解读是学习vxworks的最佳途径」· C++ 代码 · 共 36 行
CPP
36 行
/* This has been copied from the gnu source tree *//* Make all changes there, not here! */#ifdef __cplusplusextern "C" {#endif#ifndef _N_char __stdexcepti_o = 0;#elsechar _N_ = 0;#endif#ifdef __cplusplus}#endif#include "vxWorks.h"// Implementation file for Exception Support for -*- C++ -*-// This file is part of the GNU ANSI C++ Library.#ifdef __GNUG__#pragma implementation "stdexcept"#endif#include <stdexcept>// Entry points for string.void__out_of_range (const char *s){ throw out_of_range (s);}void __length_error (const char *s){ throw length_error (s);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?