| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.lang.c++,comp.os.msdos.djgpp |
| Subject: | Re: Heterogenous object container without templates & type casting ??? |
| Followup-To: | comp.lang.c++ |
| Date: | 12 Feb 2002 10:01:49 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 18 |
| Message-ID: | <a4ap6d$li$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <a47716$eiq$1 AT tron DOT sci DOT fi> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 1013508109 690 137.226.32.75 (12 Feb 2002 10:01:49 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 12 Feb 2002 10:01:49 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
[Note F'up2 of this crosspost reduced to a single group...] In comp.os.msdos.djgpp Traveler <traveler AT netti DOT fi> wrote: > Is it possible to transform the following C code to C++ so that > there is no need for type-casting ? I am trying to make a general > object class that can contain any type without the use of templates. You're effectively asking for a way of buying a burger without using either money or credit cards. Even though you *have* money. And a valid credit card. And you're standing right in front of a McD* which would be all to happy to sell you one. You have the tools --- use them. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |