Skip to content

Commit fe182af

Browse files
authored
Correct typo
1 parent f0c0da2 commit fe182af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp/attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The first call to `foo`, and both calls to `bar`, are treated as if they were de
136136

137137
The Microsoft-specific `[[msvc::intrinsic]]` attribute tells the compiler to inline a metafunction that acts as a named cast from the parameter type to the return type. When the attribute is present on a function definition, the compiler replaces all calls to that function with a simple cast. The `[[msvc::intrinsic]]` attribute is available in Visual Studio 2022 version 17.5 preview 2 and later versions. This attribute applies only to the specific function that follows it.
138138

139-
The `[[msvc::intrinsic]]` attribute has two constraints on the function it's applied to:
139+
The `[[msvc::intrinsic]]` attribute has three constraints on the function it's applied to:
140140

141141
1. The function can't be recursive; its body must only have a return statement with a cast.
142142
1. The function can only accept a single parameter.

0 commit comments

Comments
 (0)