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