after

Marks function/method for usage with AttributedFunction.

Former will call a Hook after calling attributed function/method and provide its return value as a single input parameter for a Hook.

There can be only one "after"-attribute attached to a single symbol.

after
(
alias Function
)
()

Return Value

Type: auto

internal attribute struct that embeds supplied information

Examples

auto filter(int result)
{
	return result;
}

@after!filter()
int foo() { return 42; }

Meta