Source code is assert(++NIter < 6 && "Variants are nested deeper than the magic number"); Suggest avoid modifying variables in assert statements.