folly::gen::splitByLine
authorVojin Katic <vkatich@fb.com>
Wed, 11 Jun 2014 20:53:16 +0000 (13:53 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Sat, 14 Jun 2014 01:14:18 +0000 (18:14 -0700)
commit9cc86052c80864ac55c9c1c3ec4af63b695a4705
treec18cbef38f2a5ccf397111e7ec78b246dad315c8
parentcd5e0d076cdde2bce70ee309b931e9781b18a3d9
folly::gen::splitByLine

Summary:
I made it work, but please send your feedback how to improve code quality.

splitByLine will split on \r, \n, and \r\n.

Test Plan: add new test, arc unit

Reviewed By: tjackson@fb.com

Subscribers: folly@lists, crawler-diffs@

FB internal diff: D1322212
folly/gen/String-inl.h
folly/gen/String.h
folly/gen/test/StringTest.cpp