From 882b3501a31eb0e4ae4213afb91a0e43feda7d5f Mon Sep 17 00:00:00 2001 From: Sungmann Cho <55860394+chosungmann@users.noreply.github.com> Date: Tue, 1 Oct 2019 03:24:41 +0900 Subject: Fix spelling errors (#384) aligment -> alignment constructable -> constructible constuctible -> constructible contructed -> constructed destructable -> destructible futher -> further implcit -> implicit implemenation -> implementation intrinics -> intrinsics --- absl/types/any.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'absl/types/any.h') diff --git a/absl/types/any.h b/absl/types/any.h index d2e2533f05bc..507c8b2cc4f1 100644 --- a/absl/types/any.h +++ b/absl/types/any.h @@ -182,7 +182,7 @@ ValueType* any_cast(any* operand) noexcept; // object, when containing a value, must contain a value type; storing a // reference type is neither desired nor supported. // -// An `absl::any` can only store a type that is copy-constructable; move-only +// An `absl::any` can only store a type that is copy-constructible; move-only // types are not allowed within an `any` object. // // Example: @@ -190,7 +190,7 @@ ValueType* any_cast(any* operand) noexcept; // auto a = absl::any(65); // Literal, copyable // auto b = absl::any(std::vector()); // Default-initialized, copyable // std::unique_ptr my_foo; -// auto c = absl::any(std::move(my_foo)); // Error, not copy-constructable +// auto c = absl::any(std::move(my_foo)); // Error, not copy-constructible // // Note that `absl::any` makes use of decayed types (`absl::decay_t` in this // context) to remove const-volatile qualifiers (known as "cv qualifiers"), -- cgit 1.4.1