|
class TColorForm : public TForm
{
__published:
private:
public:
virtual __fastcall TColorForm(TComponent* Owner);
virtual __fastcall TColorForm(String *str,TComponent* Owner);
};
버추얼 선언을 해도,하지 않아도 마찬가지로 컴파일이 둘다 되고
실행상의 별 다른점이 없는것 같은데 뭐가 다른가요?
예전 BC31에서는 버추얼 선언하지 않으면
아예 컴파일 안되었던것 같은데
제가 착각하는건가요?
|