Go to the documentation of this file.
199 #ifndef ABSL_FLAGS_MARSHALLING_H_
200 #define ABSL_FLAGS_MARSHALLING_H_
202 #include "absl/base/config.h"
204 #if defined(ABSL_HAVE_STD_OPTIONAL) && !defined(ABSL_USES_STD_OPTIONAL)
210 #include "absl/strings/string_view.h"
211 #include "absl/types/optional.h"
218 template <
typename T>
220 template <
typename T>
223 namespace flags_internal {
241 template <
typename T>
255 #if defined(ABSL_HAVE_STD_OPTIONAL) && !defined(ABSL_USES_STD_OPTIONAL)
256 template <
typename T>
271 template <
typename T>
284 template <
typename T>
289 #if defined(ABSL_HAVE_STD_OPTIONAL) && !defined(ABSL_USES_STD_OPTIONAL)
290 template <
typename T>
296 template <
typename T>
327 template <
typename T>
341 template <
typename T>
356 #endif // ABSL_FLAGS_MARSHALLING_H_
ABSL_NAMESPACE_BEGIN bool ParseFlag(absl::string_view input, T *dst, std::string *error)
std::string Unparse(FlagOpFn op, const void *val)
std::string UnparseFlag(const T &v)
#define ABSL_NAMESPACE_END
#define T(upbtypeconst, upbtype, ctype, default_value)
bool AbslParseFlag(absl::string_view text, absl::LogSeverity *dst, std::string *err)
#define ABSL_NAMESPACE_BEGIN
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
std::string AbslUnparseFlag(absl::LogSeverity v)
bool AbslParseFlag(absl::string_view text, bool *dst, std::string *)
std::string AbslUnparseFlag(absl::string_view v)
bool InvokeParseFlag(absl::string_view input, T *dst, std::string *err)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:21