This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: verbose terminate() on by default, pass 2


Nathan Myers <ncm-nospam@cantrip.org> writes:

| > +++ src/vterminate.cc	24 Dec 2002 00:45:14 -0000
| > +
| >  using namespace std;
| >  using namespace abi;
| 
| Isn't the name "abi" reserved for users?

As far as the the C++ Standard is concerned: Yes.  However the new ABI
also reserved that identifier -- just in the same way the C++
Standard reserved the identifier std.

But the above is in our implementation src/vterminate.cc file and abi
is a namespace alias.

And if you were questionning a using-directive, yes I'm with you ;-)

| > +	    char const *w = exc.what();
| > +    type_info *t = __cxa_current_exception_type();
| > +	char const *name = t->name();
| > +	  char *dem = 0;
| > +	catch (exception &exc)
| > +	    char const *w = exc.what();
| 
| This is C++ code.  Shouldn't we have C++-style declarations?

100% agreed.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]