File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3063
3063
3064
3064
\pnum
3065
3065
Calling a function through an
3066
- expression whose function type is different
3067
- from the function type of the called function's
3068
- definition results in undefined behavior.
3066
+ expression whose function type \tcode {E} is different
3067
+ from the function type \tcode {F} of the called function's
3068
+ definition results in undefined behavior
3069
+ unless the type `` pointer to \tcode {F}'' can be converted
3070
+ to the type `` pointer to \tcode {E}'' via a function pointer conversion\iref {conv.fctptr }.
3071
+ \begin {note }
3072
+ The exception applies when the expression has the type of a
3073
+ potentially-throwing function, but the called function has
3074
+ a non-throwing exception specification,
3075
+ and the function types are otherwise the same.
3076
+ \end {note }
3069
3077
3070
3078
\pnum
3071
3079
\indextext {function argument|see{argument}}%
You can’t perform that action at this time.
0 commit comments