From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "Instantiated from Here":  SO WHAT?
Date: Sat, 19 Feb 2000 20:55:33 +0000
Organization: Customer of Planet Online
Lines: 30
Message-ID: <5uvtas893is0imgjnsf59fbqnlnqgnj257@4ax.com>
References: <88hs3e$aj4_001 AT bzn5-21 DOT imt DOT net>
NNTP-Posting-Host: modem-85.doxycycline.dialup.pol.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: newsg2.svr.pol.co.uk 950994231 31808 62.136.91.85 (19 Feb 2000 21:03:51 GMT)
NNTP-Posting-Date: 19 Feb 2000 21:03:51 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ronman AT imt DOT net (ron newman) wrote:

> 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()

Where is the implementation for the class constructor?

template<class T>
Signal<T>::Signal(blah blah) { /* ... */ }

It needs to be in the same file.

Other than that, it is difficult to see what the problem could be.  

Can you reduce the code to the smallest example that exhibits the same
problem, and post it here in full, together with the compile command
line and resulting errors?