Skip to content

Instantly share code, notes, and snippets.

@benben
Created August 7, 2011 12:45
Show Gist options
  • Save benben/1130344 to your computer and use it in GitHub Desktop.
Save benben/1130344 to your computer and use it in GitHub Desktop.
template <typename T>
class TextInput
{
public:
TextInput(float* _x, float* _y, string _name, T* _value, bool* _bProcessed, bool* _bIsNodeActive);
...
}
typedef boost::shared_ptr<ds::TextInput<float> > TextInputPtr;
TextInputPtr t(new TextInput<float>(&x, &y, name, &value, &bProcessed, &bIsActive)); //doesn't work
@benben
Copy link
Author

benben commented Aug 7, 2011

 undefined reference to `ds::TextInput<float>::TextInput(float*, float*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float*, bool*, bool*)'|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment