This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] num_put::do_put(const void*) when sizeof(long) != sizeof(void*)


Hi,

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,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]