Boost logo

Boost :

Subject: Re: [boost] Heads up - string_ref landing
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-11-16 09:08:32


On Fri, Nov 16, 2012 at 2:33 PM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
>> That'd be better as a non-member function, wouldn't it?
>
>
> It arguably would, but that wouldn't mimic std::string's interface.

Isn't that a good thing?
If we want to move away from that interface, designing new types with
that interface is not a good plan.

-- 
Olaf

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