ready

detect whether a sub command's container of a main command is ready for use. for using this function, the BEGIN and END mixin-macro must be embeed in main command container. T is the type in sub-command container, U is the type in main-command container

bool
ready
(
T
U
)
(
const U* output
)
if (
hasMember!(U, "__SPE_END_SEPCIAL__")
)

Parameters

output U*

the main-command container

Return Value

Type: bool

true if the sub-command is ready, otherwise is not ready.

Meta