// Methods for type_info for -*- C++ -*- Run Time Type Identification.
-// Copyright (C) 1994, 1996, 1998, 1999, 2000, 2001, 2002, 2003
+// Copyright (C) 1994, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004
// Free Software Foundation
//
// This file is part of GCC.
// You should have received a copy of the GNU General Public License
// along with GCC; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330,
-// Boston, MA 02111-1307, USA.
+// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301, USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
__upcast_result (int d)
:dst_ptr (NULL), part2dst (__unknown), src_details (d), base_type (NULL)
{}
-
- explicit
- __upcast_result(const __upcast_result& r)
- : dst_ptr(r.dst_ptr), part2dst(r.part2dst), src_details(r.src_details),
- base_type(r.base_type)
- { }
-
- __upcast_result&
- operator=(const __upcast_result& r)
- {
- if (&r != this)
- {
- dst_ptr = r.dst_ptr;
- part2dst = r.part2dst;
- src_details = r.src_details;
- base_type = r.base_type;
- }
- return *this;
- }
};
// __dyncast_result is used to hold information during traversal of a class