<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If ParameterList is a class template, you have to instantiate a type from it</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">in order to export ot to python. Once this is done, 'T' (and thus, 'whatever'),</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">are bound to specific types, so all the rest should 'just work':</DIV></BLOCKQUOTE></DIV><BR><DIV>No, Parameter List is not a class template but its method set is templated</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#7A795C">class ParameterList {</FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" color="#7A795C">...</FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" color="#7A795C">template<typename T></FONT></DIV><DIV><FONT class="Apple-style-span" color="#7A795C"> </FONT><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" color="#7A795C">void set( string const& name, T const& value, std::string const& docString = "");</FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" color="#7A795C">...</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>And yes I could create a method to use only a limited number of types but I would like to pass a python object in as "<FONT class="Apple-style-span" color="#7A795C">value" <FONT class="Apple-style-span" color="#000000">and have boost try and extract a c++ object to pass to set.</FONT></FONT></DIV><DIV>I have no control over this class, it is part of a software package.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>~Sean</DIV></BODY></HTML>