class GlobalEmptyStringConstexpr

Defined at line 790 of file ../../third_party/protobuf/src/src/google/protobuf/port.h

Take advantage of C++20 constexpr support in std::string.

Public Methods

const std::string & get ()

Defined at line 792 of file ../../third_party/protobuf/src/src/google/protobuf/port.h

std::string * Init ()

Nothing to init, or destroy.

Defined at line 794 of file ../../third_party/protobuf/src/src/google/protobuf/port.h

template <typename T = std::string, bool = (T(), true)>
std::true_type HasConstexprDefaultConstructor (int )

Compilation fails on Xtensa: b/467129751

Defined at line 803 of file ../../third_party/protobuf/src/src/google/protobuf/port.h

std::false_type HasConstexprDefaultConstructor (char )

Defined at line 807 of file ../../third_party/protobuf/src/src/google/protobuf/port.h