regex.cpp

来自「C语言库函数的原型,有用的拿去」· C++ 代码 · 共 29 行

CPP
29
字号
// regex: various utilities needed by basic_regex
#include <new>

 #if _HAS_EXCEPTIONS
 #include <regex>

_STD_BEGIN
namespace tr1 {	// TR1 additions

	// EXCEPTIONS
void __CLRCALL_PURE_OR_CDECL _Xmem()
	{	// throw bad_alloc exception
	_THROW_NCEE(_XSTD bad_alloc,);
	}

void __CLRCALL_PURE_OR_CDECL _Xbad(regex_constants::error_type error)
	{	// throw regex_error exception
	_THROW_NCEE(_STD tr1::regex_error, error);
	}
	}	// namespace tr1
_STD_END
 #else
 #endif /* _HAS_EXCEPTIONS */

/*
 * Copyright (c) 1992-2008 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
V5.05:0009 */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?