📄 errormacros.hpp
字号:
/*
* STRINGIZE macro converts an expression into a string-literal.
* ERROR_INFO macro permits file-name and line-number data to be added to an error message.
*
* Tim Bailey 2005.
*/
#ifndef ERROR_MACROS_HPP_
#define ERROR_MACROS_HPP_
#if defined(STRINGIZE_HELPER) || defined(STRINGIZE) || defined(ERROR_INFO)
# error ULAPACK error macros have already been defined elsewhere
#endif
#define STRINGIZE_HELPER(exp) #exp
#define STRINGIZE(exp) STRINGIZE_HELPER(exp)
#define ERROR_INFO(message) "ERROR: " message \
"\nFILE: " __FILE__ "\nLINE: " STRINGIZE(__LINE__)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -