Commit 77d5e547 authored by Eric Niebler's avatar Eric Niebler Committed by Facebook Github Bot

add folly::FixedString, a constexpr-usable string with a fixed-size internal buffer

Summary: Inspired by http://wg21.link/p0259, folly::BasicFixedString is a std::string replacement that is usable in constexpr contexts. It uses an internal fixed-size buffer to store up to N characters, where N is a template parameter.

Reviewed By: luciang

Differential Revision: D4249529

fbshipit-source-id: 10f12ea2510a8d21ec60a07a8f15ecc3e35c5431
parent 2f6eb182
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -144,6 +144,7 @@ nobase_follyinclude_HEADERS = \ ...@@ -144,6 +144,7 @@ nobase_follyinclude_HEADERS = \
File.h \ File.h \
FileUtil.h \ FileUtil.h \
Fingerprint.h \ Fingerprint.h \
FixedString.h \
folly-config.h \ folly-config.h \
Foreach.h \ Foreach.h \
FormatArg.h \ FormatArg.h \
......
This diff is collapsed.
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