Skip to content

Не работает функция reset в энумераторах по Array и Container. #2

@mazzy-ax

Description

@mazzy-ax

Не работает функция reset в энумераторах по Array и Container. Возможно и по всем родственным с ними энумераторам тоже.

void testSysEnumeratorContainer()
{
    SysEnumerator   se;
    container       con = [1,2,3];
;
    info("step1");
    se  = SysEnumerator::Container(con);
    while (se.moveNext())
    {
        info(strfmt("%1",se.current()));
    }
    info("step2");
    se.reset();
    while (se.moveNext())
    {
        info(strfmt("%1",se.current()));
    }
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions