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
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
Programming in C C++ Java
Filed under: Programming and C Programming LanguageProgramming 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 LanguageThe 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 LanguageThe 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 Language1 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 LanguageC Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...
