Jacek, > > BTW, while poking through things, I noticed css/IntPair. > > Why not just use std::pair<int, int>? > > I need to pass the pair over through swig to python, and I am > afraid of running into mysterious problems with swig (like the > one I just run into) The following all seem to successfully use std::pair (it looks like you should %include std_pair.i and use %template()): afw/coord/coordLib.i afw/geom/Polygon.i afw/image/imageLib.i afw/math/minimize.i ap/apLib.i meas/algorithms/psf.i meas/deblender/deblenderLib.i ip/diffim/diffimLib.i meas/extensions/multiShapelet/multiShapeletLib.i meas/mosaic/mosaic.i -- Kian-Tat Lim, LSST Data Management, [log in to unmask] ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the QSERV-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1