You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6ff11ab
Browse filesBrowse the repository at this point in the historyBrowse files
Colin Robertson
authored
Fix 18n issues per the grammar checker
It doesn't like "will", "to be", or passive verbs.
Copy file name to clipboardExpand all lines: docs/cpp/function-call-operator-parens.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ no-loc: [ opt ]
7
7
---
8
8
# Function Call Operator: ()
9
9
10
-
A function call is a kind of *`postfix-expression`*, formed by an expression that evaluates to a function or some other callable object followed by the function-call operator, **`()`**. An object can declare an `operator ()` function, which provides function call semantics for the object.
10
+
A function call is a kind of *`postfix-expression`*, formed by an expression that evaluates to a function or callable object followed by the function-call operator, **`()`**. An object can declare an `operator ()` function, which provides function call semantics for the object.
11
11
12
12
## Syntax
13
13
@@ -18,14 +18,14 @@ A function call is a kind of *`postfix-expression`*, formed by an expression tha
18
18
19
19
The arguments to the function-call operator come from an *`argument-expression-list`*, a comma-separated list of expressions. The values of these expressions are passed to the function as arguments. The *argument-expression-list* can be empty. Before C++ 17, the order of evaluation of the function expression and the argument expressions is unspecified and may occur in any order. In C++17 and later, the function expression is evaluated before any argument expressions or default arguments. The argument expressions are evaluated in an indeterminate sequence.
20
20
21
-
The *`postfix-expression`*will evaluate to the function to be called. It can take any of several forms:
21
+
The *`postfix-expression`*evaluates to the function to call. It can take any of several forms:
22
22
23
23
- a function identifier, visible in the current scope or in the scope of any of the function arguments provided,
24
-
- an expression that evaluates to a function, a function pointer or a some other callable object, or to a reference to one,
24
+
- an expression that evaluates to a function, a function pointer, a callable object, or to a reference to one,
25
25
- a member function accessor, either explicit or implied,
26
26
- a dereferenced pointer to a member function.
27
27
28
-
The *`postfix-expression`* may consist of an overloaded function identifier or overloaded member function accessor. The rules for overload resolution determine the actual function to be called. If the member function is virtual, the function to be called will be determined at run time.
28
+
The *`postfix-expression`* may be an overloaded function identifier or overloaded member function accessor. The rules for overload resolution determine the actual function to call. If the member function is virtual, the function to call is determined at run time.
0 commit comments