Werner LEMBERG <w...@gnu.org> wrote:
 |> I may have to look into this C++ stuff. I have only written C and I
 |> have not figured out how to write multi-threaded applications
 |> without global variables. And I make good use of goto and
 |> longjmp. Apps would be a lot junkier without them.
 |
 |Well, right now groff's C++ is essentially C code with some useful
 |additions.  It doesn't use `high-level' C++ concepts like templates
 |(although there is at least one place where this would be useful to
 |avoid macro trickery).

charinfo::contains() uses std::vector.  But i used templates
(including typename etc.) with gcc 2.95.2 on Halloween 4 (RedHat
6.1) and that is really old (though significant improvements came
later, so this may be a false statement; but 2.95.4 (FreeBSD 4.7)
definitely).

--steffen

Reply via email to