Warning suppression for explicit template instantiations

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-06-26 22:43:21 +00:00
commit 8e779193bf

View file

@ -3,16 +3,16 @@
using the translation unit). using the translation unit).
*/ */
%module cpp0x_template_explicit %module cpp0x_template_explicit
%warnfilter(320) std::vector<A>;
%warnfilter(320) std::vector<A*>; #pragma SWIG nowarn=SWIGWARN_PARSE_EXPLICIT_TEMPLATE
%inline %{ %inline %{
#include <vector> #include <vector>
class A { class A {
public: public:
int member; int member;
int memberFunction() { return 100; } int memberFunction() { return 100; }
}; };
template class std::vector<A>; template class std::vector<A>;