From: Daniel Oberhoff (daniel.oberhoff_at_[hidden])
Date: 2007-07-23 06:43:43


hi

I am struggling with iterator_face. I have a container of bits with a
smart reference type. This is because the exposed type is bool, but
there is never a full boolean variable around for an index, just a
single bit. So whenever a reference to a bool is requested I want to
pass my smart reference that knows how to get and set this bit.

But iterator_facade is too smart for this: it wants to make a true
reference to a supplied Value type, which results in references to
temporaries. Is there any way to tell iterator_facade to use my type as
a ref type?

Daniel Oberhoff