Commit fb5c25d9 authored by Jolene Tan's avatar Jolene Tan Committed by Facebook GitHub Bot

Deprecate folly::vformat

Reviewed By: vitaut

Differential Revision: D30676171

fbshipit-source-id: f820b1c08750c4d844925a82d5fd710bc8a1ca5c
parent 94f01f8f
......@@ -286,7 +286,11 @@ inline std::string sformat(StringPiece fmt, Args&&... args) {
* but the latter is cleaner.
*/
template <class Container>
Formatter<true, Container> vformat(StringPiece fmt, Container&& container) {
[[deprecated(
"Use fmt::format instead of folly::vformat for better performance, build "
"times and compatibility with std::format")]] //
Formatter<true, Container>
vformat(StringPiece fmt, Container&& container) {
return Formatter<true, Container>(fmt, std::forward<Container>(container));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment