المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Syntax For Intializer list for base contructer



C++ Programming
09-30-2009, 02:51 AM
Hi,

When coding an initializer list for a base contructer e.g.

using the example below

where does c " int c " have to be declared somewhere in derived class "a" ???


Class a : public b


a() : b(int c)

thankx