This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Feb 14, 2007, at 3:48 PM, Gunter Winkler wrote: [snip]
Thus the open question is: How expensive are default cons, copy cons, assign and destruct for "typical" iterators?
I usually have trivial default cons. and trivial destructor, similar copy and assignment operations.
The second question is: Should the algorithms enforce the existence of default constructors - which prohibits some optimizations of later assignments - or not?
Cheers, Doug
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |