Boost logo

Boost :

From: Ivan Matek (libbooze_at_[hidden])
Date: 2022-08-22 20:32:40


On Sun, Aug 21, 2022 at 5:06 PM Peter Dimov via Boost <boost_at_[hidden]>
wrote:

>
> Returning views is basically a trap that's going to get
> everyone earlier or later, no matter how experienced.
>
>
One cool idea that I like is what abseil does in some cases, they return
you some "proxy" that morphs into what you specify as lhs. For example
absl::StrSplit()
  https://abseil.io/docs/cpp/guides/strings

Not sure if that design has some problems beside being auto hostile.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk