[func.wrap.badcall]

# 22 General utilities library [[utilities]](./#utilities)

## 22.10 Function objects [[function.objects]](function.objects#func.wrap.badcall)

### 22.10.17 Polymorphic function wrappers [[func.wrap]](func.wrap#badcall)

#### 22.10.17.2 Class bad_function_call [func.wrap.badcall]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L13624)

An exception of type bad_function_call is thrown byfunction​::​operator() ([[func.wrap.func.inv]](func.wrap.func.inv "22.10.17.3.5 Invocation"))
when the function wrapper object has no target[.](#1.sentence-1)

namespace std {class bad_function_call : public exception {public:// see [[exception]](exception "17.9.3 Class exception") for the specification of the special member functionsconst char* what() const noexcept override; };}

[ð](#lib:what,bad_function_call)

`const char* what() const noexcept override;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L13645)

*Returns*: Animplementation-defined ntbs[.](#2.sentence-1)
