diff options
author | Tom Manshreck <shreck@google.com> | 2022-06-08 14:22:40 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-08 14:23:13 -0700 |
commit | e0a32c2aee27aadce321471be734d7643d7d9439 (patch) | |
tree | 0a111652ad5d66cb1650f96c84729b769a67dc8f /absl/flags/flag.h | |
parent | 7a8d20b7841b43cc685230058130bd0f019e4004 (diff) |
Add documentation on optional flags to the flags library overview.
PiperOrigin-RevId: 453766125
Change-Id: Id4d88ae20bdadc960a65bc1010eea746f1eba051
Diffstat (limited to 'absl/flags/flag.h')
-rw-r--r-- | absl/flags/flag.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/flags/flag.h b/absl/flags/flag.h index d2750b31..b7f94be7 100644 --- a/absl/flags/flag.h +++ b/absl/flags/flag.h @@ -67,6 +67,10 @@ ABSL_NAMESPACE_BEGIN // ABSL_FLAG(int, count, 0, "Count of items to process"); // // No public methods of `absl::Flag<T>` are part of the Abseil Flags API. +// +// For type support of Abseil Flags, see the marshalling.h header file, which +// discusses supported standard types, optional flags, and additional Abseil +// type support. #if !defined(_MSC_VER) || defined(__clang__) template <typename T> using Flag = flags_internal::Flag<T>; |