|
ConversionError | folly::makeConversionError (ConversionCode code, StringPiece input) |
|
ConversionCode | folly::detail::enforceWhitespaceErr (StringPiece sp) |
|
void | folly::detail::enforceWhitespace (StringPiece sp) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_same< Tgt, typename std::decay< Src >::type >::value, Expected< Tgt, ConversionCode > >::type | folly::tryTo (Src &&value) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_same< Tgt, typename std::decay< Src >::type >::value, Tgt >::type | folly::to (Src &&value) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_arithmetic< Src >::value &&!std::is_same< Tgt, Src >::value &&std::is_same< Tgt, bool >::value, Expected< Tgt, ConversionCode > >::type | folly::tryTo (const Src &value) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_arithmetic< Src >::value &&!std::is_same< Tgt, Src >::value &&std::is_same< Tgt, bool >::value, Tgt >::type | folly::to (const Src &value) |
|
template<typename... Ts> |
auto | folly::detail::getLastElement (const Ts &...ts) -> decltype(LastElementImpl< Ts... >::call(ts...)) |
|
uint32_t | folly::digits10 (uint64_t v) |
|
uint32_t | folly::uint64ToBufferUnsafe (uint64_t v, char *const buffer) |
|
template<class Tgt > |
void | folly::toAppend (char value, Tgt *result) |
|
template<class T > |
constexpr std::enable_if< std::is_same< T, char >::value, size_t >::type | folly::estimateSpaceNeeded (T) |
|
template<size_t N> |
constexpr size_t | folly::estimateSpaceNeeded (const char(&)[N]) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_convertible< Src, const char * >::value &&IsSomeString< Tgt >::value >::type | folly::toAppend (Src value, Tgt *result) |
|
template<class Src > |
std::enable_if< std::is_convertible< Src, const char * >::value, size_t >::type | folly::estimateSpaceNeeded (Src value) |
|
template<class Src > |
std::enable_if< IsSomeString< Src >::value, size_t >::type | folly::estimateSpaceNeeded (Src const &value) |
|
template<class Src > |
std::enable_if< std::is_convertible< Src, folly::StringPiece >::value &&!IsSomeString< Src >::value &&!std::is_convertible< Src, const char * >::value, size_t >::type | folly::estimateSpaceNeeded (Src value) |
|
template<> |
size_t | folly::estimateSpaceNeeded (std::nullptr_t) |
|
template<class Src > |
std::enable_if< std::is_pointer< Src >::value &&IsSomeString< std::remove_pointer< Src > >::value, size_t >::type | folly::estimateSpaceNeeded (Src value) |
|
template<class Tgt , class Src > |
std::enable_if< IsSomeString< Src >::value &&IsSomeString< Tgt >::value >::type | folly::toAppend (const Src &value, Tgt *result) |
|
template<class Tgt > |
std::enable_if< IsSomeString< Tgt >::value >::type | folly::toAppend (StringPiece value, Tgt *result) |
|
template<class Tgt > |
std::enable_if< IsSomeString< Tgt >::value >::type | folly::toAppend (const fbstring &value, Tgt *result) |
|
template<class Tgt , class Src > |
size_t::type | folly::estimateSpaceNeeded (Src value) |
|
template<class Delimiter , class... Ts> |
void | folly::reserveInTargetDelim (const Delimiter &d, const Ts &...vs) |
|
template<class T , class Tgt > |
std::enable_if< IsSomeString< typename std::remove_pointer< Tgt >::type >::value >::type | folly::toAppendStrImpl (const T &v, Tgt result) |
|
| toAppend (v, result) |
|
folly::std enable_if::typetoAppendDelimStrImpl const Delimiter, const Tv, Tgtresult | folly::sizeof (Ts) > |
|
folly::std enable_if::typetoAppendDelimStrImpl const Delimiter, const Tv, Tgtresult bool Tgt::type | folly::to (const char *b, const char *e) |
|
template<typename Tgt > |
FOLLY_NODISCARD std::enable_if< std::is_arithmetic< Tgt >::value, Expected< StringPiece, ConversionCode > >::type | folly::parseTo (StringPiece src, Tgt &out) |
|
template<class Tgt > |
std::enable_if< !std::is_same< Tgt, bool >::value &&(std::is_integral< Tgt >::value||std::is_floating_point< Tgt >::value), Expected< Tgt, ConversionCode > >::type | folly::detail::convertTo (const bool &value) noexcept |
|
template<class Tgt , class Src > |
std::enable_if< std::is_integral< Src >::value &&!std::is_same< Tgt, Src >::value &&!std::is_same< Tgt, bool >::value &&std::is_integral< Tgt >::value, Expected< Tgt, ConversionCode > >::type | folly::detail::convertTo (const Src &value) noexcept |
|
template<class Tgt , class Src > |
std::enable_if< std::is_floating_point< Tgt >::value &&std::is_floating_point< Src >::value &&!std::is_same< Tgt, Src >::value, Expected< Tgt, ConversionCode > >::type | folly::detail::convertTo (const Src &value) noexcept |
|
template<typename Tgt , typename Src > |
std::enable_if< std::is_floating_point< Src >::value &&std::is_integral< Tgt >::value &&!std::is_same< Tgt, bool >::value, bool >::type | folly::detail::checkConversion (const Src &value) |
|
template<typename Tgt , typename Src > |
constexpr std::enable_if< std::is_integral< Src >::value &&std::is_floating_point< Tgt >::value, bool >::type | folly::detail::checkConversion (const Src &) |
|
template<typename Tgt , typename Src > |
constexpr std::enable_if< std::is_floating_point< Src >::value &&std::is_same< Tgt, bool >::value, bool >::type | folly::detail::checkConversion (const Src &) |
|
template<typename Tgt , typename Src > |
std::enable_if< (std::is_integral< Src >::value &&std::is_floating_point< Tgt >::value)||(std::is_floating_point< Src >::value &&std::is_integral< Tgt >::value), Expected< Tgt, ConversionCode > >::type | folly::detail::convertTo (const Src &value) noexcept |
|
template<typename Tgt , typename Src > |
std::string | folly::detail::errorValue (const Src &value) |
|
template<typename Tgt , typename Src > |
std::enable_if< detail::IsArithToArith< Tgt, Src >::value, Expected< Tgt, ConversionCode > >::type | folly::tryTo (const Src &value) noexcept |
|
template<typename Tgt , typename Src > |
std::enable_if< detail::IsArithToArith< Tgt, Src >::value, Tgt >::type | folly::to (const Src &value) |
|
template<class T > |
FOLLY_NODISCARD std::enable_if< std::is_enum< T >::value, Expected< StringPiece, ConversionCode > >::type | folly::parseTo (StringPiece in, T &out) noexcept |
|
FOLLY_NODISCARD Expected< StringPiece, ConversionCode > | folly::parseTo (StringPiece in, StringPiece &out) noexcept |
|
FOLLY_NODISCARD Expected< StringPiece, ConversionCode > | folly::parseTo (StringPiece in, std::string &out) |
|
FOLLY_NODISCARD Expected< StringPiece, ConversionCode > | folly::parseTo (StringPiece in, fbstring &out) |
|
template<class Tgt > |
std::enable_if< std::is_void< ParseToResult< Tgt > >::value, Expected< StringPiece, ConversionCode > >::type | folly::detail::parseToWrap (StringPiece sp, Tgt &out) |
|
template<class Tgt > |
std::enable_if< !std::is_void< ParseToResult< Tgt > >::value, ParseToResult< Tgt > >::type | folly::detail::parseToWrap (StringPiece sp, Tgt &out) |
|
template<class Tgt > |
std::enable_if< !std::is_same< StringPiece, Tgt >::value, Expected< Tgt, detail::ParseToError< Tgt > > >::type | folly::tryTo (StringPiece src) |
|
template<class Tgt , class Src > |
std::enable_if< IsSomeString< Src >::value &&!std::is_same< StringPiece, Tgt >::value, Tgt >::type | folly::to (Src const &src) |
|
template<class Tgt > |
std::enable_if<!std::is_same< StringPiece, Tgt >::value, Tgt >::type | folly::to (StringPiece src) |
|
template<class Tgt > |
Expected< Tgt, detail::ParseToError< Tgt > > | folly::tryTo (StringPiece *src) |
|
template<class Tgt > |
Tgt | folly::to (StringPiece *src) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_enum< Src >::value &&!std::is_same< Src, Tgt >::value &&!std::is_convertible< Tgt, StringPiece >::value, Expected< Tgt, ConversionCode > >::type | folly::tryTo (const Src &value) |
|
template<class Tgt , class Src > |
std::enable_if< !std::is_convertible< Src, StringPiece >::value &&std::is_enum< Tgt >::value &&!std::is_same< Src, Tgt >::value, Expected< Tgt, ConversionCode > >::type | folly::tryTo (const Src &value) |
|
template<class Tgt , class Src > |
std::enable_if< std::is_enum< Src >::value &&!std::is_same< Src, Tgt >::value &&!std::is_convertible< Tgt, StringPiece >::value, Tgt >::type | folly::to (const Src &value) |
|
template<class Tgt , class Src > |
std::enable_if< !std::is_convertible< Src, StringPiece >::value &&std::is_enum< Tgt >::value &&!std::is_same< Src, Tgt >::value, Tgt >::type | folly::to (const Src &value) |
|