AFAIK it does not (if, by small_function, you mean a trivially copyable
general function object).
It does not need to be trivially copyable, I just want to specify(64.128 or 1701) bytes of stack space (as template argument) to use before using heap, similar as LLVM has for some types, but not for std::function https://llvm.org/doxygen/classllvm_1_1SmallString.html