Mail Archives: djgpp/2000/02/18/13:36:26
I get the error below, in "midi_scan()". What does it mean? I WANT to
instantiate the object from the template there.
BTW, are there no docs on GCC compiler error messages?
enum Fade_in_modes { linear, cosine_shaped };
template <class T>
class Signal
{
public: // ************** Constructor ******************
Signal (int requested_size = 256, int fade_in_len = 10, Fade_in_modes mode
= linear);
}
void midi_scan(void)
{
Signal<double> samplebuf; // "ERROR: INSTANTIATED FROM HERE" (yeah, so
what's your point? That's what I wanted!)
} // end midi_scan()
****************************************************************
Ron Newman
http://www.imt.net/~ronman/animal.htm
****************************************************************
- Raw text -