May 28, 2002 Re: windows.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | One would hope so, but that's not necessarily the case esp. in unoptimized builds. Anyway it's harder to write the wrapper than just declare an alias. Sean "Walter" <walter@digitalmars.com> wrote in message news:acuj6i$75r$2@digitaldaemon.com... > > "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:acu3qf$2fn4$1@digitaldaemon.com... > > Can you alias a function declaration like that? It'd be nice to be able > to > > provide an alternate name for a function. I suppose one could always provide a simple wrapper but that'd lose performance. > > The simple wrapper won't lose performance because it gets inlined. |
Copyright © 1999-2021 by the D Language Foundation