February 21, 2003
I just now tried compiling several source C++ files that had "using
std::endl;" in them, and then just plain endl when I output a line. I got an
error message everywhere I used "endl":
    Error: template endl<> is not instantiated.

When I change the code to "std::endl" (or '\n' , of course) it works fine.
I am using a -I\dm\stlport\stlport flag, and all the other using ...
statements work OK.
BTW these files have all compiled with Borland, g++, and mingGW without any
endl complaints.
Jim Jennings


February 21, 2003
In article <b33r4v$7qc$1@digitaldaemon.com>, James W. Jennnings says...
>
>I just now tried compiling several source C++ files that had "using std::endl;" in them, and then just plain endl when I output a line. I got an error message everywhere I used "endl":
>    Error: template endl<> is not instantiated.

I've been keeping an eye on that one. I think it has something to do with the "inline" directive and template functions. Walter has some examples, and when next beta appears I'll look at it again.

Richard