would you call a wrapper type, that holds a pointer to a container provides a range interface through that pointer, a range_reference or a reference_range?

hmmm... referring_range?? indirect_range???

@ercadio but aren't there a lot of other things you could call that? Also view suggests to me that it's read-only.

@namark sure, I think we are running out of names for non-owning containers. reference_range is good I guess, or observer_range if that makes sense with observer_ptr

@namark just be careful with those because pointers are often invalidated

Follow

@ercadio great, now I have to generalize on the pointer type to allow different ownership models...

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.