RECURSIVE_FACTORY_REDIRECT constant

CompileTimeErrorCode const RECURSIVE_FACTORY_REDIRECT

7.6.2 Factories: It is a compile-time error if a redirecting factory constructor redirects to itself, either directly or indirectly via a sequence of redirections.

Implementation

static const CompileTimeErrorCode RECURSIVE_FACTORY_REDIRECT =
    CompileTimeErrorCode('RECURSIVE_FACTORY_REDIRECT',
        "Cycle in redirecting factory constructors.")