delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/18/13:36:26

From: ronman AT imt DOT net (ron newman)
Newsgroups: comp.os.msdos.djgpp
Subject: "Instantiated from Here": SO WHAT?
Date: Thu, 17 Feb 00 22:18:22 GMT
Organization: Troubadour Technology
Lines: 37
Message-ID: <88hs3e$aj4_001@bzn5-21.imt.net>
X-Complaints-To: newsabuse AT supernews DOT com
X-Newsreader: News Xpress Version 1.0 Beta #4
To: djgpp AT Delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019