This is the mail archive of the
mailing list for the libstdc++ project.
[RFC] num_put::do_put(const void*) when sizeof(long) != sizeof(void*)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sun, 22 Aug 2004 18:11:05 +0200
- Subject: [RFC] num_put::do_put(const void*) when sizeof(long) != sizeof(void*)
perhaps I have already asked, but I want to make sure we agree about the
details of this issue: in num_put<>::do_put(const void* val) we cast val
to unsigned long: what happens if sizeof(unsigned long) != sizeof(void*)?
Are there real and important targets like that? In this case the code may
become quite a bit more complex...
Thanks in advance,