[bind10-dev] cc message format description and routing daemon added to svn
Michael Graff
mgraff at isc.org
Tue Sep 22 23:31:44 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Evan Hunt wrote:
>> and I just don't yet know how to do this in C++ without some sort of
>> wrapper around each of these, and I want to avoid that.
>
> The typeid operator?
Yea, I saw that, but it's just not QUITE what I was hoping. From
reading that (without yet experimenting) I would have to basically
construct an object of that type to compare an unknown one to, and then
use a rtti-compatible cast.
I will look into it more and see if I can do this:
if (foo->typeid == std::string) {}
- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkq5Xl8ACgkQ+NNi0s9NRJ1i1QCglk69uMwOTGlNTiM5gGNxYo39
fdgAnjAYDtFlawZWg55nKqzLHvo2e4Ba
=7/6c
-----END PGP SIGNATURE-----
More information about the bind10-dev
mailing list