digitalmars.D.learn - D1 compile-time check for symbol/function?
- Nick Sabalausky (2/2) Apr 22 2009 Does D1 have a way to check at compile-time if a particular symbol
- Jarrett Billingsley (4/6) Apr 22 2009 You can use is(typeof(symbol)) to check if a symbol is defined, and
Does D1 have a way to check at compile-time if a particular symbol (specifically a function) is defined?
Apr 22 2009
On Wed, Apr 22, 2009 at 11:38 PM, Nick Sabalausky <a a.a> wrote:Does D1 have a way to check at compile-time if a particular symbol (specifically a function) is defined?You can use is(typeof(symbol)) to check if a symbol is defined, and you can use other forms of is() to specifically determine that it is a function.
Apr 22 2009