Subject: Re: [boost] Heads up - string_ref landing
From: Maxim Yanchenko (maximyanchenko_at_[hidden])
Date: 2012-11-16 09:50:06
Mathias Gaunard <mathias.gaunard <at> ens-lyon.org> writes:
> > If this is all you need, just use plain references.
> void f(std::string const&);
> does make a useless copy.
OK. I thought you were talking about Olaf's desire to have implicit conversion
For this we use just
If it's possible to detect in compile time that our argument is a literal, I'm
happy to make such a ctor implicit, but I doubt it's possible.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk