C++11 brought new keywords and new changes to core aspects of the language.
So could it be possible to successfully compile the same piece of code in both C++11 and pre-C++11, but get different results from each binary? By pre-C++11, I'm referring to C++98, C++03, or C++TR1.
The reason I ask, is because I have a bunch of small programs all written in C++. I am unaware what standard was in mind for each individual program written. Is the behaviour of these programs guaranteed to be the same if they all compile in C++11 as well as an earlier standard? I would like to compile them all in C++11(if they can be), but avoid any subtle changes that may cause the programs to behave differently had an earlier standard been in mind.
Working examples would be greatly appreciated.