#include #include #include void foo() { typedef boost::function0 func_type; typedef boost::fusion::vector1 data_type; boost::optional opt; boost::optional opt2(opt); opt2 = opt; }