[Please do not mail me a copy of your followup] legalize+jeeves@mail.xmission.com (Richard) spake the secret code <lse4vi$fch$1@ger.gmane.org> thusly:
Looks like string_ref is really close to what I was asking for; I'm going to see if I can rework that gist with string_ref.
Gist updated to use boost::string_ref: <https://gist.github.com/LegalizeAdulthood/7b67968bd93fbd4f9dbb> So string_ref took over the place of the string_chain_segment that I had before. Now the question remains... is there something that already exists that provides a string_view from a vector of string_ref's? As near as I can tell, string_view is a class defined in namespace std that provides a string-like interface over a single char* string. I'm looking to provide an abstraction over a vector<string_ref>. I can, of course, code one myself, but I'd rather not reinvent the wheel.... Thanks to Jan Herrmann for the pointer to string_ref. -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Computer Graphics Museum <http://computergraphicsmuseum.org> The Terminals Wiki <http://terminals.classiccmp.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>