www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/07/01:34:10

Xref: news2.mv.net comp.os.msdos.djgpp:840
From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: stl problem w/ v2beta5
Date: Tue, 06 Feb 1996 20:19:41 -0800
Organization: &tSftDotIotE
Lines: 24
Message-ID: <3118285D.7193EC10@alcyone.com>
References: <4f5i62$qts AT surz03fi DOT HRZ DOT Uni-Marburg DOT DE>
NNTP-Posting-Host: newton.alcyone.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Christian Burger wrote:

> The following does not link, complaining about a missing new or so:
> 
> #include <list>
> main() {
> list<int> a;
> a.push_back(1);
> }
> 
> Any clues?

Without more information, all I can say is that it sounds like you might have a
problem instantiating your template class.

There are several ways to do this; check the gcc documentation for more
information.

-- 
Erik Max Francis, &tSftDotIotE. && max AT alcyone DOT darkside DOT com || max AT alcyone DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
Omnia quia sunt, lumina sunt. && GIGO Omega Psi && http://www.alcyone.com/max/
"Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_

- Raw text -


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