(Honestly, this makes me wonder why nullptr can construct an empty std::function, but it’s probably best not to go down that rabbit hole.)

 

I’m guessing that constructor is for symmetry with function pointers (https://godbolt.org/z/UftWpU).