#include "fun_stdlib.h" #include #include #include "any_pointer.hpp" #include #include template boost::mpl::int_ __make_int() { return boost::mpl::int_(); } #include extern "C" CORD i2s(int const& i); extern "C" int s2i(CORD const& s); extern "C" CORD f2s(float const& f); extern "C" float s2f(CORD const& s); extern "C" CORD d2s(double const& f); extern "C" double s2d(CORD const& s); extern "C" void print(CORD const& s); extern "C" void fprint(CORD const& f, CORD const& s); extern "C" double f2d(float const& f); extern "C" float d2f(double const& d); extern "C" double i2d(int const& i); extern "C" int d2i(double const& i); extern "C" float i2f(int const& i); extern "C" int f2i(float const& i); extern "C" CORD str_cat(CORD const& p_9, CORD const& p_10); extern "C" bool str_eq(CORD const& p_79, CORD const& p_80); extern "C" bool str_neq(CORD const& p_95, CORD const& p_96); struct DefaultConstructible { DefaultConstructible(boost::mpl::int_<0>) { } virtual __g::any new_on_stack_fn_where_____Urm() = 0; virtual __g::any_pointer new_on_heap_fn_where_____pUrm() = 0; virtual __g::any_pointer new_on_gc_fn_where_____pUrm() = 0; virtual __g::any_pointer new_placement_fn_where____pvlc_pUrm(void* const& p_185) = 0; virtual __g::any_pointer new_array_on_heap_fn_where____ilc_pUrm(int const& n) = 0; virtual __g::any_pointer new_array_on_gc_fn_where____ilc_pUrm(int const& n) = 0; }; struct Regular { Regular(boost::mpl::int_<0>) { } virtual __g::any_reference __assign_fn_where____Tlm_Tlc_Tlm(__g::any_reference p_186, __g::any_const_reference p_187) = 0; virtual __g::any new_on_stack_fn_where____Tlc_Trm(__g::any_const_reference p_188) = 0; virtual __g::any_pointer new_on_heap_fn_where____Tlc_pTrm(__g::any_const_reference p_189) = 0; virtual __g::any_pointer new_on_gc_fn_where____Tlc_pTrm(__g::any_const_reference p_190) = 0; virtual void cleanup_fn_where____pTlc_vrm(__g::any_ptr_const_ref p_191) = 0; virtual void wipeout_fn_where____pTlc_vrm(__g::any_ptr_const_ref p_192) = 0; }; struct SizeOf { SizeOf(boost::mpl::int_<0>) { } virtual unsigned int size_of_fn_where_____size_trm() = 0; }; struct AddressOf { AddressOf(boost::mpl::int_<0>) { } virtual __g::any_pointer __addressof_fn_where____Tlm_pTrm(__g::any_reference p_193) = 0; virtual __g::any_const_pointer __addressof_fn_where____Tlc_pTcrm(__g::any_const_reference p_194) = 0; }; struct POD { POD(boost::mpl::int_<0>) { } }; int x_366 = int(0); struct foo { foo() { } foo(boost::mpl::int_<0>) { } foo(foo const& p_195_367) { } ~foo() { (x_366) = (x_366) + (1); } }; foo& __assign_fn_where____class_foolm_class_foolc_class_foolm(foo& x_370, foo const& y_371) { return x_370; } struct bar { foo f; int y; bar() { } bar(boost::mpl::int_<0>): f(foo(__make_int<0>())), y(int()) { } bar(bar const& other_376): f(foo((other_376).f)), y(int((other_376).y)) { } bar(foo const& f_380, int const& y_381, boost::mpl::int_<2>): f(foo(f_380)), y(int(y_381)) { } ~bar() { } }; bar& __assign_fn_where____class_barlm_class_barlc_class_barlm(bar& me_385, bar const& other_386) { { (__assign_fn_where____class_foolm_class_foolc_class_foolm)((me_385).f, (other_386).f); ((me_385).y) = (other_386).y; } } struct model_DefaultConstructible_class_bar__ : public DefaultConstructible { model_DefaultConstructible_class_bar__(boost::mpl::int_<0>): DefaultConstructible(__make_int<0>()) { } virtual __g::any new_on_stack_fn_where_____Urm(); bar new_on_stack_fn_where_____class_barrm_impl(); virtual __g::any_pointer new_on_heap_fn_where_____pUrm(); bar* new_on_heap_fn_where_____pclass_barrm_impl(); virtual __g::any_pointer new_on_gc_fn_where_____pUrm(); bar* new_on_gc_fn_where_____pclass_barrm_impl(); virtual __g::any_pointer new_placement_fn_where____pvlc_pUrm(void* const& __439); bar* new_placement_fn_where____pvrm_pclass_barrm_impl(void* p_395); virtual __g::any_pointer new_array_on_heap_fn_where____ilc_pUrm(int const& __440); bar* new_array_on_heap_fn_where____ilc_pclass_barrm_impl(int const& n_399); virtual __g::any_pointer new_array_on_gc_fn_where____ilc_pUrm(int const& __441); bar* new_array_on_gc_fn_where____ilc_pclass_barrm_impl(int const& n_419); }; __g::any model_DefaultConstructible_class_bar__::new_on_stack_fn_where_____Urm() { return (new_on_stack_fn_where_____class_barrm_impl)(); } bar model_DefaultConstructible_class_bar__::new_on_stack_fn_where_____class_barrm_impl() { return bar(__make_int<0>()); } __g::any_pointer model_DefaultConstructible_class_bar__::new_on_heap_fn_where_____pUrm() { return (new_on_heap_fn_where_____pclass_barrm_impl)(); } bar* model_DefaultConstructible_class_bar__::new_on_heap_fn_where_____pclass_barrm_impl() { return new bar(__make_int<0>()); } __g::any_pointer model_DefaultConstructible_class_bar__::new_on_gc_fn_where_____pUrm() { return (new_on_gc_fn_where_____pclass_barrm_impl)(); } bar* model_DefaultConstructible_class_bar__::new_on_gc_fn_where_____pclass_barrm_impl() { return new bar(__make_int<0>()); } __g::any_pointer model_DefaultConstructible_class_bar__::new_placement_fn_where____pvlc_pUrm(void* const& __439) { return (new_placement_fn_where____pvrm_pclass_barrm_impl)(__439); } bar* model_DefaultConstructible_class_bar__::new_placement_fn_where____pvrm_pclass_barrm_impl(void* p_395) { return new (p_395) bar(__make_int<0>()); } __g::any_pointer model_DefaultConstructible_class_bar__::new_array_on_heap_fn_where____ilc_pUrm(int const& __440) { return (new_array_on_heap_fn_where____ilc_pclass_barrm_impl)(__440); } bar* model_DefaultConstructible_class_bar__::new_array_on_heap_fn_where____ilc_pclass_barrm_impl(int const& n_399) { bar* a_402 = new bar[n_399]; int i_406 = int(0); while ((i_406) != (n_399)) { ((a_402)[i_406]) = bar(__make_int<0>()); (i_406) = (i_406) + (1); } return a_402; } __g::any_pointer model_DefaultConstructible_class_bar__::new_array_on_gc_fn_where____ilc_pUrm(int const& __441) { return (new_array_on_gc_fn_where____ilc_pclass_barrm_impl)(__441); } bar* model_DefaultConstructible_class_bar__::new_array_on_gc_fn_where____ilc_pclass_barrm_impl(int const& n_419) { bar* a_422 = new (GC) bar[n_419]; int i_426 = int(0); while ((i_426) != (n_419)) { ((a_422)[i_426]) = bar(__make_int<0>()); (i_426) = (i_426) + (1); } return a_422; } DefaultConstructible* __DefaultConstructible_class_bar = new model_DefaultConstructible_class_bar__(__make_int<0>()); struct model_Regular_class_bar__ : public Regular { model_Regular_class_bar__(boost::mpl::int_<0>): Regular(__make_int<0>()) { } virtual __g::any_reference __assign_fn_where____Tlm_Tlc_Tlm(__g::any_reference __462, __g::any_const_reference __463); bar& __assign_fn_where____class_barlm_class_barlc_class_barlm_impl(bar& x_442, bar const& y_443); virtual __g::any new_on_stack_fn_where____Tlc_Trm(__g::any_const_reference __464); bar new_on_stack_fn_where____class_barlc_class_barrm_impl(bar const& x_445); virtual __g::any_pointer new_on_heap_fn_where____Tlc_pTrm(__g::any_const_reference __465); bar* new_on_heap_fn_where____class_barlc_pclass_barrm_impl(bar const& x_446); virtual __g::any_pointer new_on_gc_fn_where____Tlc_pTrm(__g::any_const_reference __466); bar* new_on_gc_fn_where____class_barlc_pclass_barrm_impl(bar const& x_450); virtual void cleanup_fn_where____pTlc_vrm(__g::any_ptr_const_ref __467); void cleanup_fn_where____pclass_barrm_vrm_impl(bar* px_459); virtual void wipeout_fn_where____pTlc_vrm(__g::any_ptr_const_ref __468); void wipeout_fn_where____pclass_barrm_vrm_impl(bar* px_461); }; __g::any_reference model_Regular_class_bar__::__assign_fn_where____Tlm_Tlc_Tlm(__g::any_reference __462, __g::any_const_reference __463) { return (__assign_fn_where____class_barlm_class_barlc_class_barlm_impl)(__g::any_cast(__g::to_type(), __462), __g::any_cast(__g::to_type(), __463)); } bar& model_Regular_class_bar__::__assign_fn_where____class_barlm_class_barlc_class_barlm_impl(bar& x_442, bar const& y_443) { return (__assign_fn_where____class_barlm_class_barlc_class_barlm)(x_442, y_443); } __g::any model_Regular_class_bar__::new_on_stack_fn_where____Tlc_Trm(__g::any_const_reference __464) { return (new_on_stack_fn_where____class_barlc_class_barrm_impl)(__g::any_cast(__g::to_type(), __464)); } bar model_Regular_class_bar__::new_on_stack_fn_where____class_barlc_class_barrm_impl(bar const& x_445) { return bar(x_445); } __g::any_pointer model_Regular_class_bar__::new_on_heap_fn_where____Tlc_pTrm(__g::any_const_reference __465) { return (new_on_heap_fn_where____class_barlc_pclass_barrm_impl)(__g::any_cast(__g::to_type(), __465)); } bar* model_Regular_class_bar__::new_on_heap_fn_where____class_barlc_pclass_barrm_impl(bar const& x_446) { return new bar(x_446); } __g::any_pointer model_Regular_class_bar__::new_on_gc_fn_where____Tlc_pTrm(__g::any_const_reference __466) { return (new_on_gc_fn_where____class_barlc_pclass_barrm_impl)(__g::any_cast(__g::to_type(), __466)); } bar* model_Regular_class_bar__::new_on_gc_fn_where____class_barlc_pclass_barrm_impl(bar const& x_450) { return new bar(x_450); } void model_Regular_class_bar__::cleanup_fn_where____pTlc_vrm(__g::any_ptr_const_ref __467) { (cleanup_fn_where____pclass_barrm_vrm_impl)(__g::any_cast(__g::to_type(), __467)); } void model_Regular_class_bar__::cleanup_fn_where____pclass_barrm_vrm_impl(bar* px_459) { (delete px_459); } void model_Regular_class_bar__::wipeout_fn_where____pTlc_vrm(__g::any_ptr_const_ref __468) { (wipeout_fn_where____pclass_barrm_vrm_impl)(__g::any_cast(__g::to_type(), __468)); } void model_Regular_class_bar__::wipeout_fn_where____pclass_barrm_vrm_impl(bar* px_461) { (px_461->~bar()); } Regular* __Regular_class_bar = new model_Regular_class_bar__(__make_int<0>()); int yow_fn_where_____irm() { bar b_469 = bar(foo(__make_int<0>()),2,__make_int<2>()); return (b_469).y; } int main() { int y_473 = (yow_fn_where_____irm)(); return (x_366) - (y_473); }