It was a nice day in the close queue, until I found this question.
At first, I thought it was mis-tagged since I was filtering on java and the question was about std::function<T()>
(I know that Java generics are not that weird, despite many people being confused about them) .
When I tried to edit the question, I found that it was not tagged with java.
Verily, it had never ever been tagged with java.