isPublicMember

Undocumented in source.

Members

Aliases

MEM
alias MEM = TypeTuple!(__traits(getMember, T, M))
Undocumented in source.

Manifest constants

isPublicMember
enum isPublicMember;
Undocumented in source.
isPublicMember
enum isPublicMember;
Undocumented in source.
isPublicMember
enum isPublicMember;
Undocumented in source.

Examples

static class A {
    public int bar;
    protected string foo;
    private int baz;
}

static assert(isPublicMember!(A, "bar"));
static assert(!isPublicMember!(A, "foo"));
static assert(!isPublicMember!(A, "baz"));

Meta