| 180 | /// Configuration trait to configure the function_base class. |
| 181 | template <bool Owning, bool Copyable, typename Capacity> |
| 182 | struct config { |
| 183 | // Is true if the function is owning. |
| 184 | static constexpr auto const is_owning = Owning; |
| 185 | |
| 186 | // Is true if the function is copyable. |
| 187 | static constexpr auto const is_copyable = Copyable; |
| 188 | |
| 189 | // The internal capacity of the function |
| 190 | // used in small functor optimization. |
| 191 | // The object shall expose the real capacity through Capacity::capacity |
| 192 | // and the intended alignment through Capacity::alignment. |
| 193 | using capacity = Capacity; |
| 194 | }; |
| 195 | |
| 196 | /// A config which isn't compatible to other configs |
| 197 | template <bool Throws, bool HasStrongExceptGuarantee, typename... Args> |
nothing calls this directly
no outgoing calls
no test coverage detected