Project

General

Profile

Feature #1419

DynamicBitset::IamAll1s

Added by John Abbott about 4 years ago. Updated about 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Improving
Target version:
Start date:
17 Feb 2020
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

A challenge for Anna: can you write DynamicBitSet::IamAll1s using the new "range-based" for loop syntax?


Related issues

Related to CoCoALib - Bug #1575: DynamicBitset missing arg checksNew2021-02-03

History

#1 Updated by John Abbott about 3 years ago

I think it might be tricky because inside the loop you need to check if you are at the last position, whereas the new syntax seems to give direct access to the elements of the vec.

#2 Updated by John Abbott about 3 years ago

  • Related to Bug #1575: DynamicBitset missing arg checks added

Also available in: Atom PDF