unsigned char * cp = (unsigned char *)result;
unsigned char * cp = (unsigned char *)&result;
.sdeetee 7 points 5 days ago Drafts go through a multi year process, during which they can change a lot. See for example the introduction, then removal, of the concepts papers to the drafts during the C++11 process. Eventually the draft becomes a Draft International Standard (DIS) and if approved becomes a standard. ISO holds copyright over the final standards text, so the DIS text is typically only available within ISO. Then it can't be released except by ISO and affiliated standards bodies such as ANSI. In another comment I mention that there are drafts that are very close to the standard (e.g. N3337), containing only editorial changes. But if you want to be sure that you are implementing exactly what the standard says, you'll need to get it from ISO. You are welcome to follow along the development of the standard. Reading the papers and minutes from the WG21 site will give you more background into what's going on. Anyone can send in a paper for inclusion in the mailing. I also try to tweet from the standards meetings as much as possible to provide realtime reports of the major decisions. Finally, Herb Sutter and Michael Wong both usually have excellent trip reports. There's a lot going on in C++ standardization. We hope to get out a standard by 2017, with drafts along the way. Implementations are starting to catch up with the standards process for a variety of reasons. Good things lie ahead! |
viliml wrote: |
---|
yes, that would be correct, but what about the union behaviour? |
|
|
|
|
|
|
std::uint_fast32_t compile_int( std::uint8_t, std::uint8_t, std::uint8_t, std::uint8_t ) ;