<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<TITLE>
    CWG Issue 1033</TITLE>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<STYLE TYPE="text/css">
  INS { text-decoration:none; font-weight:bold; background-color:#A0FFA0 }
  .INS { text-decoration:none; background-color:#D0FFD0 }
  DEL { text-decoration:line-through; background-color:#FFA0A0 }
  .DEL { text-decoration:line-through; background-color: #FFD0D0 }
  @media (prefers-color-scheme: dark) {
    HTML { background-color:#202020; color:#f0f0f0; }
    A { color:#5bc0ff; }
    A:visited { color:#c6a8ff; }
    A:hover, a:focus { color:#afd7ff; }
    INS { background-color:#033a16; color:#aff5b4; }
    .INS { background-color: #033a16; }
    DEL { background-color:#67060c; color:#ffdcd7; }
    .DEL { background-color:#67060c; }
  }
  SPAN.cmnt { font-family:Times; font-style:italic }
</STYLE>
</HEAD>
<BODY>
<P><EM>This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21
  Core Issues List revision 118b.
  See http://www.open-std.org/jtc1/sc22/wg21/ for the official
  list.</EM></P>
<P>2025-09-28</P>
<HR>
<A NAME="1033"></A><H4>1033.
  
Restrictions on alignment attributes
</H4>
<B>Section: </B>9.13.2&#160; [<A href="https://wg21.link/dcl.align">dcl.align</A>]
 &#160;&#160;&#160;

 <B>Status: </B>C++11
 &#160;&#160;&#160;

 <B>Submitter: </B>Daveed Vandevoorde
 &#160;&#160;&#160;

 <B>Date: </B>2010-02-17<BR>


<P>[Voted into the WP at the March, 2011 meeting as part of paper N3262.]</P>



<P>According to 9.13.2 [<A href="https://wg21.link/dcl.align#5">dcl.align</A>] paragraph 5,</P>

<BLOCKQUOTE>

The combined effect of all alignment attributes in a declaration
shall not specify an alignment that is less strict than the
alignment that would otherwise be required for the entity being
declared.

</BLOCKQUOTE>

<P>&#8220;...would otherwise be required&#8221; could be read as
referring to the alignment set by another declaration of the
entity.  However, it was intended to prevent specifying an
alignment smaller than the natural alignment the entity would
have in the absence of an <TT>align</TT> attribute.  The wording
should be changed to make that clearer.</P>

<P><B>Proposed resolution (February, 2011) [SUPERSEDED]:</B></P>

<P>Change 9.13.2 [<A href="https://wg21.link/dcl.align#5">dcl.align</A>] paragraph 5 as follows:</P>

<BLOCKQUOTE>

The combined effect of all <I>alignment-specifier</I>s in a
declaration shall not specify an alignment that is less strict than
the alignment that would <DEL>otherwise</DEL> be required for the
entity being declared <INS>if all <I>alignment-specifier</I>s were
ignored (including those in other declarations)</INS>.

</BLOCKQUOTE>

<BR><BR>
</BODY>
</HTML>
