|
944 | 944 |
|
945 | 945 | \pnum
|
946 | 946 | A \term{customization point object} is a function object\iref{function.objects}
|
947 |
| -with a literal class type that interacts with user-defined types while enforcing |
948 |
| -semantic requirements on that interaction. |
| 947 | +with a literal class type that interacts with program-defined types while |
| 948 | +enforcing semantic requirements on that interaction. |
949 | 949 |
|
950 | 950 | \pnum
|
951 | 951 | The type of a customization point object shall satisfy
|
|
970 | 970 | \pnum
|
971 | 971 | \begin{note}
|
972 | 972 | Many of the customization point objects in the library evaluate function call
|
973 |
| -expressions with an unqualified name which results in a call to a user-defined |
974 |
| -function found by argument dependent name lookup\iref{basic.lookup.argdep}. To |
975 |
| -preclude such an expression resulting in a call to unconstrained functions with |
976 |
| -the same name in namespace \tcode{std}, customization point objects specify that |
977 |
| -lookup for these expressions is performed in a context that includes deleted |
978 |
| -overloads matching the signatures of overloads defined in namespace \tcode{std}. |
979 |
| -When the deleted overloads are viable, user-defined overloads need be more |
980 |
| -specialized\iref{temp.func.order} or more constrained\iref{temp.constr.order} to |
981 |
| -be used by a customization point object. |
| 973 | +expressions with an unqualified name which results in a call to a |
| 974 | +program-defined function found by argument dependent name |
| 975 | +lookup\iref{basic.lookup.argdep}. To preclude such an expression resulting in a |
| 976 | +call to unconstrained functions with the same name in namespace \tcode{std}, |
| 977 | +customization point objects specify that lookup for these expressions is |
| 978 | +performed in a context that includes deleted overloads matching the signatures |
| 979 | +of overloads defined in namespace \tcode{std}. When the deleted overloads are |
| 980 | +viable, program-defined overloads need be more specialized\iref{temp.func.order} |
| 981 | +or more constrained\iref{temp.constr.order} to be used by a customization point |
| 982 | +object. |
982 | 983 | \end{note}
|
983 | 984 |
|
984 | 985 | \rSec3[functions.within.classes]{Functions within classes}
|
|
0 commit comments