```cpp struct S { int foo() const { return 3; } }; int main() { tl::function_ref<int(S)> f = &S::foo; f(S{}); // crash with GCC 9.1 } ```