#include "absl/flags/commandlineflag.h"
#include <memory>
#include <string>
#include "gtest/gtest.h"
#include "absl/flags/flag.h"
#include "absl/flags/internal/commandlineflag.h"
#include "absl/flags/internal/private_handle_accessor.h"
#include "absl/flags/reflection.h"
#include "absl/flags/usage_config.h"
#include "absl/memory/memory.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
Go to the source code of this file.
|
| ABSL_FLAG (int, int_flag, 201, "int_flag help") |
|
| ABSL_FLAG (int, int_flag2, 201, "") |
|
| ABSL_FLAG (std::string, string_flag, "dflt", absl::StrCat("string_flag", " help")) |
|
| ABSL_FLAG (std::string, string_flag2, "dflt", "") |
|
| ABSL_RETIRED_FLAG (bool, bool_retired_flag, false, "bool_retired_flag help") |
|
◆ ABSL_FLAG() [1/4]
ABSL_FLAG |
( |
int |
, |
|
|
int_flag |
, |
|
|
201 |
, |
|
|
"int_flag help" |
|
|
) |
| |
◆ ABSL_FLAG() [2/4]
ABSL_FLAG |
( |
int |
, |
|
|
int_flag2 |
, |
|
|
201 |
, |
|
|
"" |
|
|
) |
| |
◆ ABSL_FLAG() [3/4]
ABSL_FLAG |
( |
std::string |
, |
|
|
string_flag |
, |
|
|
"dflt" |
, |
|
|
absl::StrCat("string_flag", " help") |
|
|
) |
| |
◆ ABSL_FLAG() [4/4]
ABSL_FLAG |
( |
std::string |
, |
|
|
string_flag2 |
, |
|
|
"dflt" |
, |
|
|
"" |
|
|
) |
| |
◆ ABSL_RETIRED_FLAG()
ABSL_RETIRED_FLAG |
( |
bool |
, |
|
|
bool_retired_flag |
, |
|
|
false |
, |
|
|
"bool_retired_flag help" |
|
|
) |
| |