From 08760addbe9732d8ee889328229781313baf6e96 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 20 Apr 2018 01:11:44 +0700 Subject: Fix some typos. --- absl/types/any.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'absl/types/any.h') diff --git a/absl/types/any.h b/absl/types/any.h index 760a160e7562..346c44aa2db6 100644 --- a/absl/types/any.h +++ b/absl/types/any.h @@ -191,13 +191,13 @@ ValueType* any_cast(any* operand) noexcept; // auto c = absl::any(std::move(my_foo)); // Error, not copy-constructable // // Note that `absl::any` makes use of decayed types (`absl::decay_t` in this -// context) to remove const-volative qualifiers (known as "cv qualifiers"), +// context) to remove const-volatile qualifiers (known as "cv qualifiers"), // decay functions to function pointers, etc. We essentially "decay" a given // type into its essential type. // -// `absl::any` makes use of decayed types when determing the basic type `T` of +// `absl::any` makes use of decayed types when determining the basic type `T` of // the value to store in the any's contained object. In the documentation below, -// we explcitly denote this by using the phrase "a decayed type of `T`". +// we explicitly denote this by using the phrase "a decayed type of `T`". // // Example: // @@ -322,7 +322,7 @@ class any { // Overload of `any::emplace()` to emplace a value within an `absl::any` // object by calling `any::reset()`, initializing the contained value as if // direct-non-list-initializing an object of type `VT` with the arguments - // `initilizer_list, std::forward(args)...`, and returning a reference + // `initializer_list, std::forward(args)...`, and returning a reference // to the new contained value. // // Note: If an exception is thrown during the call to `VT`'s constructor, @@ -354,7 +354,7 @@ class any { // Swaps the passed value and the value of this `absl::any` object. void swap(any& other) noexcept { obj_.swap(other.obj_); } - // Observors + // Observers // any::has_value() // -- cgit 1.4.1