Commit de488e8f authored by ROUVREAU Vincent's avatar ROUVREAU Vincent Committed by GILLES Sebastien
Browse files

suffix with an underscore attributes

parent 937929e5
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
"source": [ "source": [
"struct BadlyInitialized\n", "struct BadlyInitialized\n",
"{\n", "{\n",
" int a;\n", " int a_;\n",
"};" "};"
] ]
}, },
...@@ -492,7 +492,7 @@ ...@@ -492,7 +492,7 @@
"\n", "\n",
"{\n", "{\n",
" BadlyInitialized my_object;\n", " BadlyInitialized my_object;\n",
" std::cout << \"Undefined behaviour: no guarantee for the value of the data attribute!: \" << my_object.a << std::endl;\n", " std::cout << \"Undefined behaviour: no guarantee for the value of the data attribute!: \" << my_object.a_ << std::endl;\n",
"}" "}"
] ]
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment