Home > Programming > C Programming Language



Adding Alignment Support to the C++ Programming Language ...

Sort Desciption:

Adding Alignment Support to the C++. Programming Language / Consolidated. 1 Short summary. Document status: proposal with the changes suggested by core and ...



Content Inside:

Adding Alignment Support to the C++ Programming Language / ConsolidatedPage 1Doc No:SC22/WG21/N2140J16/060210of project JTC1.22.32Address:LM Ericsson Oy AbHirsalantie 1Jorvas 02420Date:20061105 to 2006.11.06 21:55:00Phone:+358 40 507 8729 (mobile)Reply to: Attila (Farkas) FehrEmail:attila f feher at ericsson comwolof at freemail huAdding Alignment Support to the C++Programming Language / Consolidated1 Short summaryDocument status: proposal with the changes suggested by core and library. Proposed wordingwill be in the mid term mailing.Oneliner: Extending the standard language and library with alignment related features.Problems targeted: Allow most efficient fixed capacitydynamic size containers and optional elements Allow specially aligned variables/buffers for hardware related programming Allow building heterogeneous containers at run time Allow programming of discriminated unions Allow optimized code generation for data with stricter alignmentRelated issues not addressed: Classtype packing (although allowed) Requesting specially aligned memory from memory allocators (new malloc)Proposed changes: New: alignmentspecifier (alignas) to declarations (type based and value based) New: alignof operator to retrieve alignment value for a type (like sizeof for size) New: alignment arithmetic by library support New: standard functions for pointers for proper alignment at run timeNote: The proposed library changes are different from the ones we voted on at the 2006Portland meeting due to input from the Library Working Group!Page 2WG21/N2140 = J16/060210page 2Evolution WG ProposalTable of Contents1Short summary................................... .......................................... .......................................... .12Alignment defined .......................................... .......................................... ...............................23The alignof operator.................................. .......................................... ..................... ...

Source: www.open-std.org


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
The C++ programming language provides a model of memory and computation that ... 3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...