2
�� member ���� �������� ������, ���������� ������ �����. ( a static data
3
shared by all objects of the class )
4
����� ����� incomplete type � ������������ ��� ������. (���� ���!)
6
������������� ����������� ��������� ������:
8
static const char* const RootDir;
10
const char* const FepLoadBase::RootDir = "/var/www/crdlx5/data/";
13
* ��� �������� ��� ������
14
* �� ���� ����� ���������� � ����������� ������ ������, ����� �
16
* �������� enclose::inner::f()
17
* class E { class In; }; class E::In{ ... };
18
* �� ��������� ������� ����� ������������ ������ public ������ �����������
20
* ��������� ������ ����������� � C++ ������.
22
3. ������ ����� ��������� � ���� �������
24
4. ��������� �������: f("a") ������������ � ������� ��������, ������� ��
27
5. Note that postincrement (postfix ++) involves a temporary and preincrement
28
does not. For this reason, it is best to prefer ++p over p ++ for iterators.
30
6. In the case of overriding default allocators and other classes which are
31
used in the STL, there is neccessity to provide A::A(A a) constructors.
32
Otherwise, instead just a copy will be used (and destructor would be
33
executed twice on the same object). No errors or warnings are produced.
35
7. if member function defined with const specifier, this means it would
36
not alter the object (this is constant)
37
int memberfunc() const;