Boost logo

Boost :

Subject: Re: [boost] [string_ref] type erasure to support arbitrary strings
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-01-30 18:44:17


On 30/01/13 18:35, Jeffrey Lee Hellrung, Jr. wrote:

> It's somewhat of a compromise as a string_ref has very little access
> overhead compared to using a std::string or similar directly (I would think
> the only overhead, if any, is in the construction of the string_ref).

Which isn't in the access itself.
There is no overhead compared to accessing a pointer.


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