troy d. straszheim wrote: > > as<R(T(U))>(&fn) > > where T(U) means "convert the python object to C++ type U, then create a > temporary object T and use it to create result_of<T(U)>::type, correction, add here "then pass that thing to fn" > then > convert that type to R and return to python". -t