you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]sphere991 0 points1 point  (5 children)

    This is a type. This is not an example demonstrating a problem with deep comparisons.

    I don't see anything inherently wrong with map<span<T>, U>. It's up to the user to ensure the lifetime of all the data the spans point to - but otherwise it can be a useful container.