On Wed, Jan 21, 2009 at 04:29:38PM +0000, David Flynn wrote: > > Please no inline functions. > > Why not (NB, given the change above to avoid subclassing) > Its as good as a macro but with extra added type safety.
It's not in speed-critical path, so a normal function is fine. Mainly, it has to do with the additional burden of having a separate header for inlined functions (if this were a public header, which it isn't), and of having code be in two separate places. Also, partly, it's a style thing. I want to avoid having discussions where one argument is "but it saves 3 cycles!" dave... ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Schrodinger-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/schrodinger-devel
