Why and how this piece of code is working? The compiler gives no errors or warnings.
int sum(int a,int b) {
    return a + b;
}
int main() {
    std::function<int (int,int)> pa = *****sum;
    std::cout << pa(10,12) << std::endl;
}
Thank you in advance.
