Re: [Cppcms-users] rendering list of widgets::checkbox
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2011-03-11 06:11:36
|
On Thursday 10 March 2011 08:20:09 pm Artyom wrote: > > new widget in my content's form element, like this: > > cppcms::widgets::checkbox c.form.check = cppcms::widgets::checkbox(); > > where c.form is the base form, but I get the compile error: > > error: expected initializer before ‘.’ token > > > > See, C++ is not dynamically typed language, you can't add member > to structure dynamically. Oh! Of course I knew about strong types in C++ yet I still overlook some of the consequences of that. Old PHP habits die hard ;-/ Thank you for pointing this out to me. Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |