[cpp-threads] Memory model counterproposal: bit-fields

Alexander Terekhov alexander.terekhov at gmail.com
Fri May 27 20:34:12 BST 2005


On 5/27/05, Peter Dimov <pdimov at mmltd.net> wrote:
[...]
> struct X
> {
>    R r;
> 
>    struct Bf
>    {
>        int v: 30;
>        int w: 2;
>    } bf;
> };
> 
> or something like that.

struct X
{
   R r;

   isolated
   {
       int v: 30;

/*isolated {*/
       int w: 2;

/* } */

   }

};

regards,
alexander.




More information about the cpp-threads mailing list