N3921: string_view: a non-owning reference to a string, revision 7 -- Jeffrey Yasskin
Note: This paper was among the papers adopted into the draft Library Fundamentals TS at the Issaquah WA USA ISO C++ meeting.
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3921
Date: 2014-02-14
string_view: a non-owning reference to a string, revision 7
by Jeffrey Yasskin
Excerpt:
References to strings are very common in C++ programs, but often the callee doesn't care about the exact type of the object that owns the data...
Google, LLVM, and Bloomberg have independently implemented a string-reference type to encapsulate this kind of argument. ...
Acknowledgements
I'd like to thank Marshall Clow, Olaf van der Spek, the Boost and std-proposals mailing lists, Chandler Carruth, Beman Dawes, Alisdair Meredith, and especially Daniel Krügler for help, advice, and wording in this paper.

TThe first stable release of the 3.x series of MetaScale’s open-source software is available: NT² 3.0. It also includes its spin-off project, Boost.SIMD (not yet a Boost library). Many Issues have been closed since last beta. The main focus of this release cycle was to fix performances issues and to stabilize some parts of the API.