language: C++11 (gcc-4.7.2)
date: 659 days 16 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
template<typename F>
void bar(F func) {
    typedef void (F::*pm_t)() const;
    pm_t pm = &F::operator();
}
 
int main()
{
    bar([](){});
}