Skip to content

Commit 1479138

Browse files
author
msebolt
committed
acrolinx
1 parent 5a03548 commit 1479138

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/standard-library/any-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ helpviewer_keywords: ["any/std::any", "any/std::any::emplace", "any/std::any::ha
66
---
77
# any Class
88

9-
Stores an instance of any type that satisfies the constructor requirements or it has no value, and this is referred to as the state of the class any object.
9+
Stores an instance of any type that satisfies the constructor requirements or it has no value, which is called the state of the class any object.
1010

11-
The stored instance is called the contained value, and two states are equivalent if either they both have no value, or both have a value and the contained values are equivalent.
11+
The stored instance is called the contained value. Two states are the same if either they both have no value, or both have a value and the contained values are the same.
1212

1313
## Syntax
1414

docs/standard-library/any-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ template <class T, class U, class... Args>
3939

4040
## <a name="swap"></a> swap
4141

42-
Exchanges the elements of two anys.
42+
Exchanges the elements of two objects any.
4343

4444
```cpp
4545
void swap(any& left, any& right) noexcept;

docs/standard-library/any.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Defines the class any and several supporting functions and classes.
2020
|-|-|
2121
|[any_cast](../standard-library/any-functions.md#any_cast)|Makes an object into an any.|
2222
|[make_any](../standard-library/any-functions.md#make_any)|Takes values and creates an any object.|
23-
|[swap](../standard-library/any-functions.md#swap)|Exchanges the elements of two anys.|
23+
|[swap](../standard-library/any-functions.md#swap)|Exchanges the elements of two objects any.|
2424

2525
### Classes
2626

0 commit comments

Comments
 (0)