On Monday 23 April 2007 19:44, Miguel Lobo wrote: > > function. Of course, one can do this with C++ (or OOP, in general) > > ideas; but I'd say it should still be possible with C. > > I'm honestly curious; in the specific case I've mentioned, how would you > achieve the same result in C without code duplication and without degrading > performance? In C++ you can do it very simply with a template and an > inline function.
Well, I'll have a go (once I have some spare time). Cheers, Paul.
pgptN8a2Nfg5a.pgp
Description: PGP signature
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/fluid-dev