- Union type punning in C++ - 3 Updates
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 03 02:45PM -0800 On 1/3/2020 7:04 AM, Bonita Montero wrote: > }; > du = d; > return dx; [...] It seems like a static_assert to ensure that a double is the same size as a unit64_t is in order? Or native just knows what its doing, and is not meant to be portable? |
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 03 02:46PM -0800 >> not help you. :D > So you're saying using memcpy() never creates a function call or loop > because its built in?[...] Did he say that? Where? |
| Melzzzzz <Melzzzzz@zzzzz.com>: Jan 03 10:59PM >> people to understand what unions can and cannot do in standard C++ is >> not particularly useful. > Afaict, its going to be rather "tedious" to get it done in C++. Humm... Or at all needed... -- press any key to continue or any other to quit... U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec Svi smo svedoci - oko 3 godine intenzivne propagande je dovoljno da jedan narod poludi -- Zli Zec Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi bili naoruzani. -- Mladen Gogala |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment