head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.2
	RELENG_4_11:1.1.1.2.0.20
	RELENG_4_11_BP:1.1.1.2
	RELENG_4_10_0_RELEASE:1.1.1.2
	RELENG_4_10:1.1.1.2.0.18
	RELENG_4_10_BP:1.1.1.2
	RELENG_4_9_0_RELEASE:1.1.1.2
	RELENG_4_9:1.1.1.2.0.16
	RELENG_4_9_BP:1.1.1.2
	RELENG_4_8_0_RELEASE:1.1.1.2
	RELENG_4_8:1.1.1.2.0.14
	RELENG_4_8_BP:1.1.1.2
	RELENG_4_7_0_RELEASE:1.1.1.2
	RELENG_4_7:1.1.1.2.0.12
	RELENG_4_7_BP:1.1.1.2
	RELENG_4_6_2_RELEASE:1.1.1.2
	RELENG_4_6_1_RELEASE:1.1.1.2
	RELENG_4_6_0_RELEASE:1.1.1.2
	RELENG_4_6:1.1.1.2.0.10
	RELENG_4_6_BP:1.1.1.2
	BEFORE_3_1_0_snap:1.1.1.2
	RELENG_4_5_0_RELEASE:1.1.1.2
	RELENG_4_5:1.1.1.2.0.8
	RELENG_4_5_BP:1.1.1.2
	gcc_2_95_3_with_sjlj_fix:1.1.1.2
	GCC_2_95_3_WITH_FBSD_MODS:1.1.1.2
	gcc_2_95_3:1.1.1.2
	gcc_2_95_3_test3:1.1.1.2
	gcc_2_95_3_test1:1.1.1.2
	REPOCOPY:1.1.1.2
	RELENG_4_4_0_RELEASE:1.1.1.2
	RELENG_4_4:1.1.1.2.0.6
	RELENG_4_4_BP:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.2
	RELENG_4_3:1.1.1.2.0.4
	RELENG_4_3_BP:1.1.1.2
	BEFORE_GCC_2_95_3:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.2
	RELENG_4_BP:1.1.1.2
	EGCS_11x:1.1.1.1.0.2
	gcc_2_95_2:1.1.1.2
	BEFORE_GCC_2_95_1:1.1.1.1
	gcc_2_95_1:1.1.1.2
	egcs_1_1_2:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2002.05.10.05.26.55;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	99.08.26.09.29.09;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.08.26.09.29.09;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.10.16.06.06.44;	author obrien;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.05.12.21.50.46;	author obrien;	state dead;
branches;
next	;


desc
@@


1.2
log
@Remove files not part of GCC 3.1.
@
text
@// RTTI support for -*- C++ -*-
// Copyright (C) 1994, 1995, 1996 Free Software Foundation

#ifndef __TYPEINFO__
#define __TYPEINFO__

#pragma interface "typeinfo"

#include <exception>

extern "C++" {

#ifdef __HONOR_STD
namespace std {
#endif

class type_info {
private:
  // assigning type_info is not supported.  made private.
  type_info& operator= (const type_info&);
  type_info (const type_info&);

protected:
  type_info (const char *n): _name (n) { }

  const char *_name;

public:
  // destructor
  virtual ~type_info ();
    
  bool before (const type_info& arg) const;
  const char* name () const
    { return _name; }
  bool operator== (const type_info& arg) const;
  bool operator!= (const type_info& arg) const;
};

inline bool type_info::
operator!= (const type_info& arg) const
{
  return !operator== (arg);
}

class bad_cast : public exception {
public:
  bad_cast() { }
  virtual ~bad_cast() { }
};

class bad_typeid : public exception {
 public:
  bad_typeid () { }
  virtual ~bad_typeid () { }
};

#ifdef __HONOR_STD
} // namespace std
#endif

} // extern "C++"
#endif
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Virgin import of gcc from EGCS 1.1.2
@
text
@@


1.1.1.2
log
@Virgin import of the GCC 2.95.1 compilers
@
text
@d2 1
a2 1
// Copyright (C) 1994, 95-97, 1998 Free Software Foundation
d13 1
d15 1
d24 1
a24 1
  explicit type_info (const char *n): _name (n) { }
d57 1
d59 1
@


1.1.1.3
log
@Remove files not part of GCC 3.1.
@
text
@@

