override
keyword", perhaps we can start adopting that at some point? My gcc in a bit old ubuntu (12.04) seems to be 4.6 still. http://stackoverflow.com/questions/497630/safely-override-c-virtual-functionsAlthough as tempting it would be to use C++11, personally don't think it's sensible until all of the major compilers somewhat fully support it. In practice I'd guess this means waiting at least one year or so.
Yeh sorry I meant the new move operators.
On 27 Jan 2013 16:53, "Ali Kämäräinen" <stink...@gmail.com> wrote:
>
> Actually in Visual Studio override keyword has been implemented already since VC8 as a nonstandard extension part of the C++/CLI, so in theory certain C++11 features would be doable already. But naturally these keywords would have to be defined to empty when using e.g. older GCC. "Proper copy constructors" (by which I think Jonne means move constructors ;) could be easily implemented by ifdeffing the code.
>