Enabling format("{}", format(...))
authorTom Jackson <tjackson@fb.com>
Thu, 8 Nov 2012 22:59:20 +0000 (14:59 -0800)
committerJordan DeLong <jdelong@fb.com>
Sun, 16 Dec 2012 22:43:24 +0000 (14:43 -0800)
commit8ff3329c0acab544de0c1752ce6356d78fbe9273
treec10651500dde5bbeb6893cb2f794bbc630b1061b
parentaef2fb0936a5e8b8eec583e5b9a4b246d6d1b52e
Enabling format("{}", format(...))

Summary:
If your format string ends up being conditional, it's handy to be able to chain
together formatters.

Test Plan: Unit tests

Reviewed By: tudorb@fb.com

FB internal diff: D625502
folly/Format-inl.h
folly/test/FormatBenchmark.cpp
folly/test/FormatTest.cpp