
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/2010 11:06 AM, Stewart, Robert wrote:
I didn't see the implementation of those, so I assumed that they were declarations of non-inlined functions.
I believe they are, but I also believe that the compiler is smart enough to change them to inlined functions. It wouldn't be any major difficulty to make that explicit though.
[...]
Having found the definition of compare() for a previous post, I have now found the definition of those operators. Since they are in a .cpp file, they cannot be inlined. You need to move them to integer.hpp (or integer.ipp, if you prefer) for that.
I've just read the back-and-forth on the subject. I *did* assume that the compiler was smart enough to inline them anyway, but I've already agreed to mark them inline, which will require putting them in a header file. So there's no need to argue about it. :-) - -- Chad Nelson Oak Circle Software, Inc. * * * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvhw8AACgkQp9x9jeZ9/wQEcwCeJfin1S0C5dgRRkVk066qQA6x UloAoMMCbtJ0CpLhx4LGS+FZTEhWzpcY =s2PQ -----END PGP SIGNATURE-----