Changeset f05402c in Lumiera

Timestamp:
2026-03-26T18:08:54Z (4 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play
Children:
0326f9e
Parents:
fbda9ba
Message:

Library: a stricter criterion for Lumiera iterators

On occasion of the recent improvements, I noticed that somewhere
in the past I had misunderstood the meaning of the typedefs in iterators:

  • reference is the central definition; this is what the iterator yields
  • value_type is secondary; this is the type you use to store results

So at times I defined only a value_type, wrongly assuming this to be
the primary definition, and all the other ones to be ephemeral.

Consequently the trait to detect a »Lumiera Forward Iterator« should be sharpened...

...which unveils a long-standing bug in our Duck Detector
(it is not possible to define a pointer to a reference, causing
a check for the reference typedef erroneously to fail.

(No files)

Note: See TracChangeset for help on using the changeset viewer.