Files
2025-10-25 03:02:53 +03:00

1.2 KiB

[func.wrap.copy.general]

22 General utilities library [utilities]

22.10 Function objects [function.objects]

22.10.17 Polymorphic function wrappers [func.wrap]

22.10.17.5 Copyable wrapper [func.wrap.copy]

22.10.17.5.1 General [func.wrap.copy.general]

1

#

The header provides partial specializations of copyable_function for each combination of the possible replacements of the placeholders cv, ref, and noex where

cv is either const or empty,

ref is either &, &&, or empty, and

noex is either true or false.

2

#

For each of the possible combinations of the placeholders mentioned above, there is a placeholder inv-quals defined as follows:

If ref is empty, let inv-quals be cv&,

otherwise, let inv-quals be cv ref.