mirror.ctfe.reflection

This module provides the CTFE variant of compile-time reflection, allowing client code to use regular D functions (as opposed to template metaprogramming) to operate on the contents of a D module using string mixins.

Members

Functions

module_
Module module_()

Returns compile-time reflection information about a D module.

pointer
auto pointer()

Returns a pointer to the function described by function_.

type
Type type()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Aggregate
struct Aggregate

A user-defined type (struct, class, or enum).

Function
struct Function

A function. Each of these describes only one overload.

Module
struct Module

A D module.

OverloadSet
struct OverloadSet

A set of function overloads

Parameter
struct Parameter

A function parameter

Type
struct Type
Undocumented in source.
Variable
struct Variable

A variable

Meta