unsplit
authorAndrew Tulloch <tulloch@fb.com>
Tue, 5 Feb 2013 00:54:37 +0000 (16:54 -0800)
committerJordan DeLong <jdelong@fb.com>
Tue, 19 Mar 2013 00:04:36 +0000 (17:04 -0700)
commit43300949da6b0714233d968c65cd496cb4fe7c2a
treed697e281b879ec80e0373de0569f9afc0773e931
parentb88cb304b1bd93ae65c8cf1d05be9ffdf3666db0
unsplit

Summary:
1. Incorporates @tjackson's offline comments.
2. See docstrings and examples for basic usage.
3. The usecase this covers (for me and others) was where I have some map or
vector of elements, and I want to form a string representation of this (for
logging, fb303 exported values, etc.). Various uses have existed in fbcode (e.g.
UP2X shard representations), and this seemed like a useful utility.

Test Plan: unit tests.

Reviewed By: tjackson@fb.com

FB internal diff: D696794
folly/experimental/StringGen-inl.h
folly/experimental/StringGen.h
folly/experimental/test/GenBenchmark.cpp
folly/experimental/test/GenTest.cpp