![]() |
|
|||
File indexing completed on 2024-12-19 04:04:57
0001 0002 #include <string> 0003 0004 // is ok, because const-qualified 0005 const static int g_staticConst = 23; 0006 static int const& g_ref_staticConst = g_staticConst; 0007 static int const* g_ptr_staticConst = &g_staticConst; 0008 0009 // results in a warning by GlobalStaticChecker 0010 static int g_static; 0011 static int* g_ptr_static = &g_static; 0012 0013 int main() { 0014 g_static = 23; 0015 0016 return 0; 0017 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |