Homec4science

intbitset: implement __getitem__

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jul 5 2012, 16:35.

Description

intbitset: implement getitem

  • Introduced getitem support in intbitset so that it's possible to pick the nth element or a range (assuming the natural order of the stored integers). (closes #1098)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jul 6 2012, 18:49
Parents
R3600:6ad995694e33: intbitset: pop last element
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:54b99b93e343: intbitset: implement __getitem__ (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jul 6 2012, 18:49