Napomena
Za pristup ovoj stranici potrebna je autorizacija. Možete se pokušati prijaviti ili promijeniti direktorije.
Za pristup ovoj stranici potrebna je autorizacija. Možete pokušati promijeniti direktorije.
illegal use of friend specifier on 'function'
Remarks
A destructor or constructor cannot be specified as a friend.
Example
The following example generates C2256:
// C2256.cpp
// compile with: /c
class C {
public:
friend ~C(); // C2256
~C(); // OK
};