fidl::StringPtr

Summary

Inheritance

Inherits from: cpp17::optional< std::string >

Constructors and Destructors

StringPtr()
StringPtr(cpp17::nullopt_t)
StringPtr(std::nullptr_t)
StringPtr(const StringPtr &)
StringPtr(StringPtr &&)
StringPtr(std::string && value)
StringPtr(const std::string & value)
StringPtr(const char(&) literal[N])
StringPtr(const char *value)
StringPtr(const char *value, size_t size)
StringPtr(cpp17::string_view value)
~StringPtr()

Public functions

operator->()
constexpr std::string *
operator->() const
constexpr const std::string *
operator=(const StringPtr &)=default
operator=(StringPtr &&)=default
operator=(std::string && value)
constexpr StringPtr &
operator=(const std::string & value)
constexpr StringPtr &
operator=(const char(&) literal[N])
constexpr StringPtr &
operator=(const char *value)
operator=(cpp17::string_view value)

Public functions

StringPtr

constexpr StringPtr()=default

StringPtr

constexpr StringPtr(
  cpp17::nullopt_t
) noexcept

StringPtr

constexpr StringPtr(
  std::nullptr_t
) noexcept

StringPtr

 StringPtr(
  const StringPtr &
)=default

StringPtr

 StringPtr(
  StringPtr &&
)=default

StringPtr

constexpr StringPtr(
  std::string && value
)

StringPtr

constexpr StringPtr(
  const std::string & value
)

StringPtr

constexpr StringPtr(
  const char(&) literal[N]
)

StringPtr

 StringPtr(
  const char *value
)

StringPtr

 StringPtr(
  const char *value,
  size_t size
)

StringPtr

 StringPtr(
  cpp17::string_view value
)

operator->

constexpr std::string * operator->()

operator->

constexpr const std::string * operator->() const 

operator=

StringPtr & operator=(
  const StringPtr &
)=default

operator=

StringPtr & operator=(
  StringPtr &&
)=default

operator=

constexpr StringPtr & operator=(
  std::string && value
)

operator=

constexpr StringPtr & operator=(
  const std::string & value
)

operator=

constexpr StringPtr & operator=(
  const char(&) literal[N]
)

operator=

StringPtr & operator=(
  const char *value
)

operator=

StringPtr & operator=(
  cpp17::string_view value
)

~StringPtr

 ~StringPtr()=default