Go to the source code of this file.
Namespaces |
namespace | absl |
Defines |
#define | ABSL_FLAG(Type, name, default_value, help) ABSL_FLAG_IMPL(Type, name, default_value, help) |
#define | ABSL_FLAG_IMPL(Type, name, default_value, help) |
#define | ABSL_FLAG_IMPL_DECLARE_DEF_VAL_WRAPPER(name, Type, default_value) |
#define | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, txt) |
#define | ABSL_FLAG_IMPL_FILENAME() __FILE__ |
#define | ABSL_FLAG_IMPL_FLAGHELP(txt) txt |
#define | ABSL_FLAG_IMPL_FLAGNAME(txt) txt |
#define | ABSL_FLAG_IMPL_REGISTRAR(T, flag) absl::flags_internal::FlagRegistrar<T, true>(&flag) |
#define | ABSL_FLAGS_INTERNAL_LOCK_FREE_EXPORT(T) extern T GetFlag(const absl::Flag<T>& flag); |
#define | ABSL_FLAGS_INTERNAL_LOCK_FREE_VALIDATE(BIT) |
#define | ABSL_RETIRED_FLAG(type, flagname, default_value, explanation) |
Functions |
template<typename T > |
T | absl::GetFlag (const absl::Flag< T > &flag) |
template<typename T > |
void | absl::SetFlag (absl::Flag< T > *flag, const T &v) |
template<typename T , typename V > |
void | absl::SetFlag (absl::Flag< T > *flag, const V &v) |
Define Documentation
Value:
Definition at line 242 of file flag.h.
Value:static void* AbslFlagsInitFlag##name() { \
return absl::flags_internal::MakeFromDefaultValue<Type>(default_value); \
}
Definition at line 232 of file flag.h.
Value:
Definition at line 227 of file flag.h.
Value:ABSL_ATTRIBUTE_UNUSED static const bool ignored_##flagname = \
([] { return type(default_value); }, \
absl::flags_internal::RetiredFlag<type>(#flagname))
Definition at line 276 of file flag.h.