Never Mind( was Re: C++ and derived classes issue

Larry Evans cppljevans at suddenlink.net
Sat Feb 13 11:17:51 EST 2016


On 02/13/2016 10:10 AM, Larry Evans wrote:
[snip]
> Wouldn't code here:
> 
> https://github.com/gjanssens/gnucash/blob/cpp/src/import-export/csv-imp/gnc-trans-props.hpp#L177
> 
> also have to be changed?  Currently, it has:
> 
> /** A struct containing TransProperties that all describe a single
> transaction. */
> class GncTransPropertyList : public std::vector<GncTransProperty>
> {
> ...
> };
> 
> But std::vector<GncTransProperty> wouldn't compile since
> GncTransProperty, with your change, is now a template.
> 
> Regards,
> Larry
> 

Judging from the recent post, I see Geert has already made the changes.

Regards,
Larry




More information about the gnucash-devel mailing list