[C++-sig] class empty: pass
David Abrahams
david.abrahams at rcn.com
Sun Jan 20 01:58:21 CET 2002
----- Original Message -----
From: "Ralf W. Grosse-Kunstleve" <rwgk at cci.lbl.gov>
> No, my main concern is code size. class_builder is quite convenient
> already. Unless Boost.Python could automatically figure out the
> list of data members that need to be copied to the __dict__, I have
> difficulties seeing how the syntax could be improved.
> Anyway, if there is no significant saving in code size I don't
> believe a second mechanism besides class_builder is beneficial.
In general, every new mechanism adds at least a little code side. This isn't
strictly true when you're working with templates, but I don't think a new
class will generate very much code in the new system.
-Dave
More information about the Cplusplus-sig
mailing list