📄 lib-stl.lnt
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -