Re: [Cppcms-users] warning: cppcms::form::operator+ is depricated
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-09-01 17:36:29
|
> In recent revisions, when compiling examples, you can see > this warnings: > < > > To clarify the details for me and others (because old > syntax deprecated and replaced by add(widgets::base_widget > &), add(form &f)), > do i rightly understand, that the two lines below - > equivalent? > > 1: *this + username + password + login; > 2: add(username); add(password); add(login); > Yes, exactly: See: http://art-blog.no-ip.info/cppcms_ref_v0_99/classcppcms_1_1form.html#ad7b901df499bc6d50eb8b156c6499a9 Artyom |