File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1426
1426
\end {note }
1427
1427
1428
1428
\pnum
1429
- \indextext {overloading}%
1430
1429
\indextext {type!function}%
1431
- A single name can be used for several different functions in a single scope;
1432
- this is function overloading (Clause~\ref {over }).
1433
- All declarations for a function shall have equivalent return types,
1434
- parameter-type-lists, and \grammarterm {requires-clause}{s}~(\ref {temp.over.link }).
1435
1430
The type of a function is determined using the following rules.
1436
1431
The type of each parameter (including function parameter packs) is
1437
1432
determined from its own
1533
1528
(\ref {dcl.type }).
1534
1529
\end {example }
1535
1530
1531
+ \pnum
1532
+ \indextext {overloading}%
1533
+ A single name can be used for several different functions in a single scope;
1534
+ this is function overloading (Clause~\ref {over }).
1535
+ All declarations for a function shall have equivalent return types,
1536
+ parameter-type-lists, and \grammarterm {requires-clause}{s}~(\ref {temp.over.link }).
1537
+
1536
1538
\pnum
1537
1539
\indextext {function return type|see{return type}}%
1538
1540
\indextext {return type}%
You can’t perform that action at this time.
0 commit comments