Re: templates, C++, and LNK2019

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Vladimir Nesterovsky (vladimir_at_nesterovsky-bros.com)
Date: 10/17/04


Date: Sun, 17 Oct 2004 13:27:37 +0200


"Chris Burrger via .NET 247" <anonymous@dotnet247.com> wrote in message
news:uj3NCGDtEHA.2072@TK2MSFTNGP10.phx.gbl...
> I've found some other posts that deal with this linker error, but none of
those solutions work for me. I just got VS.NET 2003 and I wanted to try it
our with some basic algorithms. I am trying to make a singly linked list,
using templates.
> I?ll post my code and then the error message at the end.
> ...

I can compile (and link) posted code.

-- 
Vladimir Nesterovsky
e-mail: vladimir@nesterovsky-bros.com
home: www.nesterovsky-bros.com


Relevant Pages

  • Re: templates, C++, and LNK2019
    ... > I've found some other posts that deal with this linker error, ... > of those solutions work for me. ... For separate compilation of template code to work, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: templates, C++, and LNK2019
    ... > I've found some other posts that deal with this linker error, ... To have you template separated between the .h and the .cpp files, ... this isn't supported by the MS compiler (or most other ...
    (microsoft.public.dotnet.languages.vc)
  • Re: templates, C++, and LNK2019
    ... > I've found some other posts that deal with this linker error, ... Separate compilation of template implementations are not supported by ... template" in the header file. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: templates, C++, and LNK2019
    ... >> I've found some other posts that deal with this linker error, ... > template" in the header file. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Which style do you prefer?
    ... Kenny Tilton wrote: ... > Next time make two posts, one just denouncing me, one just ... > the longer one looks at the posted code, ... but they do not reliably turn out better than ...
    (comp.lang.lisp)