www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/24/03:13:35

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1110
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!news.u.washington.edu!ghogenso
From: ghogenso AT u DOT washington DOT edu (Gordon Hogenson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ exception handling and static template members?
Date: 24 Jul 1995 05:05:13 GMT
Organization: University of Washington
Lines: 44
References: <1X2N9c3w200w AT alcyone DOT darkside DOT com>
Nntp-Posting-Host: saul4.u.washington.edu
Nntp-Posting-User: ghogenso
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

max AT alcyone DOT darkside DOT com (Erik Max Francis) writes:

>Is there any word on when g++ (or DJGPP's form of g++) will support 
>exception handling and static template members?

>(Are there any other fairly new C++ features that are not implemented 
>in g++ 2.6.2 yet?)

G++ 2.7.0 supports exception handling for the Intel x86, so it should
work under DJGPP.  Static template members are not fully supported
yet in 2.7, but remember that you can still use them if you are willing
to give explicit definitions for each one.

template <class T>
class A
{
  static T t;
}

int A::t;
double A::t;

etc.

There are some other new features in C++ that aren't implemented
in 2.6.x, for example RTTI (run-time type information) which is
supported under 2.7.0, and partial specialization of templates
(this is VERY new), template member functions, namespaces,
and maybe some other minor things, which aren't available in 2.7.

(This topic would be better discussed in gnu.g++.help ).

Gordon.


>Erik Max Francis, &tSftDotIotE ...!uuwest!alcyone!max max AT alcyone DOT darkside DOT com
>San Jose, CA   37 20 07 N 121 53 38 W   GIGO, Omega, Psi  oo  the fourth R  _
>H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`-  (uu rle bitmap) / \
>_Omnia quia sunt, lumina sunt._   Founder SBWF   http://www.spies.com/max/ \_/
-- 
---------------------------------------------------------------
Gordon J. Hogenson                       work: (505) 667-9471
ghogenso AT u DOT washington DOT edu                home: (505) 661-6753
---------------------------------------------------------------

- Raw text -


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