#include struct identity { template T operator()(T t) const { return t; } }; int main() { boost::fit::capture(identity())(identity())(); }