Home > Programming > C Programming Language



Adding Alignment Support to the C++ Programming Language / Wording

Sort Desciption:

Draft Standard for Programming Language C++. Typographical conventions:. . New paragraphs notes examples etc. are normally typesetted ...



Content Inside:

Adding Alignment Support to the C++ Programming Language / WordingPage 1Doc No:SC22/WG21/N2252J16/070112of project JTC1.22.32Address:LM Ericsson Oy AbHirsalantie 11Jorvas 02420Date:20070506Phone:+358 40 507 8729 (mobile)Reply to: Attila (Farkas) FehrClark NelsonEmail:attila f feher at ericsson comwolof at freemail huclark.nelson@intel.comAdding Alignment Support to the C++Programming Language / WordingShort summaryDocument status: wording proposal to be considered by CWG and LWG.Oneliner: Extending the standard language and library with alignment related features.Problems targeted:Allow most efficient implementation of fixed capacitydynamic size containersAllow most efficient implementation of optional elementsAllow specially aligned variables/buffers for hardware related programmingAllow building heterogeneous containers at run timeAllow programming of discriminated unionsAllow optimized code generation for data with stricter alignmentRelated issues not addressed:Classtype packing (although allowed)Requesting specially aligned memory from allocators (new malloc)Proposed changes:New: alignmentspecifier (alignas) to declarationsNew: alignof expression to retrieve alignment requirements of a type (like sizeof forsize)New: alignment arithmetic by library support (aligned_storage aligned_union)New: standard function (std::align) for pointer alignment at run timeThe numbering in this document is based on N2134 WorkingDraft Standard for Programming Language C++.Typographical conventions:New paragraphs notes examples etc. are normally typesettedInsertions into existing text are green and double underlinedDeletions from existing text are green and stricken throughPage 2WG21/N2165 = J16/070025Alignmentpage 2Evolution WG ProposalWordingof10Existing coloring underlining and strikethrough from N2134 is kept for clarityAny other change to existing text is unintentional and shall be ignoredSpecial thanks to Premanand Rao of HP for his hands with design and wording Clark Nelsonof ...

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
Search Terms:

 

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. ...