Boost logo

Boost :

Subject: Re: [boost] [string_ref] Don't rely on implicit conversation for operators
From: Daniel James (daniel_at_[hidden])
Date: 2013-05-19 01:45:15


On 17 May 2013 19:39, Nicola Bizzoca <nicola.bizzoca_at_[hidden]> wrote:
>
> boost::string_ref should offer overloads for string and const char* so it
> can be possible write code like
> boost::string_ref("boost") == "boost" && boost::string_ref("c++") ==
> std::string("c++")

Thanks for the suggestion. It looks like this is coming in the next
release. There will be a beta release in early June if you want to try
that.

Daniel


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