//Purpose: // demonstrate if_recur. // #include #include struct indent_undent_cout { indent_undent_cout(void) { std::cout< namespace boost { namespace fusion { namespace example { void show_default(void) { typedef if_recur ir_t; std::cout<<"show_default="< struct less { typedef bool result_type; static result_type call(int const& state) { return state recur_t; typedef increment then_down_t; typedef aux::if_recur::identity now_now_t; typedef print_pair now_up_t; typedef print_btm else_btm_t; typedef if_recur < int , recur_t , then_down_t , now_now_t , now_up_t , else_btm_t > ir_t; std::cout<<"show_less_increment="< iob(std::cout); boost::fusion::example::show_default(); boost::fusion::example::show_less_increment(); return 0; }