On Tuesday 12 November 2013 09:48:23 Michael Schnell wrote: > On 11/12/2013 08:33 AM, Martin Schreiber wrote: > > The C-like syntax > > " > > FIELDNAME ':' FIELDTYPE [':' BITSIZE] ';' > > " > > is accepted? > > Seems useful and nicely readable for me (of course I do have a strong C > background). > > > Is a record with BITSIZE automatically bitpacked? > > I gather this does make sense. > I am not sure. I don't like implicit things much.
> If it's really bit packed you might get numerical values that require > rather complex handling by the compiler: > > record tr > x1: int64: 2; Invalid because int64 is defined as -800000000000..7fffffffffffffff which does not fit in 2 bits. Martin ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk