static if ()
{
enum x;
}
static if (isDefined!x)
{
}What's the correct way to check if a variable has been defined? (note x may or may not be defined above. I need to know if it is)
static if ()
{
enum x;
}
static if (isDefined!x)
{
}What's the correct way to check if a variable has been defined? (note x may or may not be defined above. I need to know if it is)