1 2 3 4 5 6 7 8 9 10 11 12 13 14
// -*- C++ -*- %module tiger_overload %include "std_pair.i" %{ #include <overload/liboverload.hh> using namespace overload; %} %template() std::pair<overfun_bindings_type, misc::error>; %include "overload/liboverload.hh"