>>89

#include <functional>
#include <iostream>
struct Hoge {
Hoge (const std::function <void ()> &f) {f ();}
};
int main () {
Hoge hoge {[] {std::cout << "hoge\n";}};
return 0;
}

とか?