Skip to content

Commit 2e33fc5

Browse files
authored
Merge pull request #3456 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents d5a1fc8 + 3a0780f commit 2e33fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/variant-t-operator-equal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ The operator assigns a new value to the `_variant_t` object:
134134

135135
- **operator=(** `bSrc` **)** Assigns a **`bool`** value to a `_variant_t` object.
136136

137-
- **operator=(** *pDispSrc* **)** Assigns a `VT_DISPATCH` object to a `_variant_t` object.
137+
- **operator=(** *pDispSrc* **)** Assigns an `IDispatch*` object to a `_variant_t` object and calls `AddRef`.
138138

139-
- **operator=(** *pIUnknownSrc* **)** Assigns a `VT_UNKNOWN` object to a `_variant_t` object.
139+
- **operator=(** *pIUnknownSrc* **)** Assigns an `IUnknown*` object to a `_variant_t` object and calls `AddRef`.
140140

141141
- **operator=(** *decSrc* **)** Assigns a `DECIMAL` value to a `_variant_t` object.
142142

0 commit comments

Comments
 (0)