yms: (Default)
[personal profile] yms
Скачал MSDN от беты VS 2005 и смотрю, что новенького. В С++ ключевые слова sealed, abstract, и override теперь действуют даже при компиляции под Win32, без .NET. Но ставятся они странновато, там где const:

__interface I1 {
virtual void f();
};

class X : public I1 {
public:
virtual void f() override {} // OK
virtual void g() override {} // C3668 I1::g does not exist
};


А в CLR они, кроме ключевых слов, добавили унарные операторы ^ и %.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

yms: (Default)
Michael Yutsis

March 2022

S M T W T F S
  12 345
678910 1112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 24th, 2026 11:00 am
Powered by Dreamwidth Studios