This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Alternative of dynamic_cast
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: "Jyotirmoy Das" <Jyotirmoy_Das at infosys dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 02 Jan 2004 12:57:28 +0100
- Subject: Re: Alternative of dynamic_cast
- References: <2B721C6525F0D411B1E900B0D0226BDD023EAAD6@mohmsg01.ad.infosys.com>
"Jyotirmoy Das" <Jyotirmoy_Das@infosys.com> writes:
> I don't want to use dynamic_cast. Is there any alternative of
> dynamic_cast which has the same functionality ?
No.
> Or any pointer to write the implementation of dynamic_cast in class
> or as global function ?
Not possible in a portable way. Why not just use dynamic_cast?
--
Falk