|
||||
File indexing completed on 2024-04-06 12:31:51
0001 0002 #include <string> 0003 0004 0005 int main() 0006 { 0007 std::string s = "23"; 0008 std::string const& r_const = s; 0009 0010 // will produce a warning by ConstCastChecker 0011 // and ConstCastAwayChecker 0012 std::string & r = const_cast< std::string & >( r_const ); 0013 0014 return 0; 0015 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |