Hi all!
here is a compiling example of a cpp templated class:

The question is is it possible to embind, for example for Foo<int> the 
member function
Foo<int>::add?
When trying the naiive approach it failed.
Thanks!
Ronny

template <class T>
class Foo
{
public:
Foo()
{
m_value = 0;
}
void add (T value)
{
m_value += value;
}
T m_value;
};

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/e2d7cdd8-2ff6-46fc-82af-6c3b9494a0cen%40googlegroups.com.

Reply via email to