lib-stl.lnt
来自「PClint,一个非常严格的C/C++编译器, 可以嵌入到VC.GCC等.它甚至」· LNT 代码 · 共 30 行
LNT
30 行
// lib-stl.lnt
// PC-lint options for the Standard Template Library
-template(1) // agressively compile base classes
// The following options inhibit messages emitted when
// processing library headers.
-elib(601) // types are not always explicit in templates
-e1501 // members having 0 length
-e1502 // classes having no data members
-e1702 // same operator defined globally and as class member
-e1757 // STL convention is to use x++ rather than ++x.
-elib(1505) // allows inheritance access specifier to default
-elib(1515) // members fail to have constructors
-elib(1725) // allows elements of structs to be references
-elib(1727) // inline functions not declared inline
-esym(1702,operator*) // both member and non-member ops
// the following options were developed explicitly for the
// Microsoft Standard Template library (MS VC 5.0)
//
-elib(665) // macro _STCONS 3rd argument is not parenthesized
-elib(778) // a constant expression evaluates to 0
-esym(1039,valarray<<1>>::operator[]) // inhibit false message
-esym(1015,value_type) // problems processing default template ...
-esym(1702,operator==) // used as both a binary and a member operator
-elib(1054) // ... argument for priority_queue< ... >
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?