1234567891011121314151617181920212223
#if( __cplusplus == 199711L ) // C++'03 support. class Sample { public: Sample( ) : Member( 0 ) { } private: int Member; }; #elif( __cplusplus == 201103L ) // C++'11 support. class Sample { public: Sample( ); private: int Member = 0; }; #endif