ocean.meta.codegen.Identifier

Utilities to get string representations of symbols.

NB: because this module is often used as purely compile-time dependency it used built-in asserts instead of ocean.core.Test to reduce amount of cyclic imports. ocean.meta modules in general are not supposed to import anything outside of ocean.meta.

Members

Templates

fieldIdentifier
template fieldIdentifier(T, size_t i)

Template to get the name of the ith member of a struct / class.

identifier
template identifier(alias Sym)

Returns "name" (identifier) of a given symbol as string

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).