aboutsummaryrefslogtreecommitdiffhomepage
path: root/absl/types/optional.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/types/optional.h')
-rw-r--r--absl/types/optional.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/types/optional.h b/absl/types/optional.h
index 9858a97..07e4394 100644
--- a/absl/types/optional.h
+++ b/absl/types/optional.h
@@ -492,11 +492,11 @@ class optional : private optional_internal::optional_data<T>,
// Constructors
- // Constructs a default-constructed `optional` holding the empty value, NOT a
- // default constructed `T`.
+ // Constructs an `optional` holding an empty value, NOT a default constructed
+ // `T`.
constexpr optional() noexcept {}
- // Construct an `optional` initialized with `nullopt` to hold an empty value.
+ // Constructs an `optional` initialized with `nullopt` to hold an empty value.
constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit)
// Copy constructor, standard semantics