The OpenD Programming Language

reflectIgnore

Attribute to ignore a reflection target

template reflectIgnore (
string target
) {}

Examples

struct S
{
    @reflectIgnore!"c++"
    int a;
}

import std.traits: hasUDA;
static assert(hasUDA!(S.a, reflectIgnore!"c++"));

Meta