ocean.meta.types.Function

Static reflection templates specific to various function-like types

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

ParametersOf
template ParametersOf(Callable...)

Evaluates to a compile-time sequence representing the parameters of Callable

ReturnTypeOf
template ReturnTypeOf(Callable...)

Deduces return type of a callable

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).