adding StringPiece constructor that takes a piece of another StringPiece
authorRafael Sagula <rsagula@fb.com>
Thu, 28 Jun 2012 23:05:21 +0000 (16:05 -0700)
committerTudor Bosman <tudorb@fb.com>
Fri, 13 Jul 2012 23:27:55 +0000 (16:27 -0700)
commite9ee87a62bd54db5fb5c8c8d64151ed2aa75f449
treeaa4c0b89c860079cec6abfc69bfe215b5cbf266f
parent4138e84af792462ac853e14a3f75d3dcd391aaaa
adding StringPiece constructor that takes a piece of another StringPiece

Summary:
adding what seems to be a missing constructor to StringPiece --
I need to be able to take a piece of another StringPiece. (It's possible
to do that with all sorts of strings already, except StringPiece...)

Test Plan: na -- tested as part of other (dependent) diffs

Reviewed By: delong.j@fb.com

FB internal diff: D508545
folly/Range.h