proxygen
folly::literals::string_piece_literals Namespace Reference

Functions

constexpr Range< char const * > operator""_sp (char const *str, size_t len) noexcept
 
constexpr Range< char16_t const * > operator""_sp (char16_t const *str, size_t len) noexcept
 
constexpr Range< char32_t const * > operator""_sp (char32_t const *str, size_t len) noexcept
 
constexpr Range< wchar_t const * > operator""_sp (wchar_t const *str, size_t len) noexcept
 

Function Documentation

constexpr Range<char const*> folly::literals::string_piece_literals::operator""_sp ( char const *  str,
size_t  len 
)
noexcept

Definition at line 1515 of file Range.h.

1517  {
1518  return Range<char const*>(str, len);
1519 }
constexpr Range<char16_t const*> folly::literals::string_piece_literals::operator""_sp ( char16_t const *  str,
size_t  len 
)
noexcept

Definition at line 1521 of file Range.h.

1523  {
1524  return Range<char16_t const*>(str, len);
1525 }
constexpr Range<char32_t const*> folly::literals::string_piece_literals::operator""_sp ( char32_t const *  str,
size_t  len 
)
noexcept

Definition at line 1527 of file Range.h.

1529  {
1530  return Range<char32_t const*>(str, len);
1531 }
constexpr Range<wchar_t const*> folly::literals::string_piece_literals::operator""_sp ( wchar_t const *  str,
size_t  len 
)
noexcept

Definition at line 1533 of file Range.h.

References FOLLY_ASSUME_FBVECTOR_COMPATIBLE_1, and FOLLY_POP_WARNING.

1535  {
1536  return Range<wchar_t const*>(str, len);
1537 }