<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libstdc++: std::aligned_storage< _Len, _Align > Struct Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00245.html',''); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">std::aligned_storage< _Len, _Align > Struct Template Reference<div class="ingroups"><a class="el" href="a01205.html">Metaprogramming</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="std::aligned_storage" --> <p>Alignment type. <a href="a00245.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for std::aligned_storage< _Len, _Align >:</div> <div class="dyncontent"> <div class="center"><img src="a01849.png" border="0" usemap="#std_1_1aligned__storage_3_01___len_00_01___align_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1aligned__storage_3_01___len_00_01___align_01_4_inherit__map" id="std_1_1aligned__storage_3_01___len_00_01___align_01_4_inherit__map"> <area shape="rect" id="node3" href="a00245.html" title="std::aligned_storage\< sizeof(_Tp), alignment_of\< _Tp \>::value \>" alt="" coords="5,101,373,131"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<std::size_t _Len, std::size_t _Align = __alignof__(typename __aligned_storage_msa<_Len>::__type)><br/> struct std::aligned_storage< _Len, _Align ></h3> <p>Alignment type. </p> <p>The value of _Align is a default-alignment which shall be the most stringent alignment requirement for any C++ object type whose size is no greater than _Len (3.9). The member typedef type shall be a POD type suitable for use as uninitialized storage for any object whose size is at most _Len and whose alignment is a divisor of _Align. </p> <p>Definition at line <a class="el" href="a01090_source.html#l00822">822</a> of file <a class="el" href="a01090_source.html">type_traits</a>.</p> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="a01090_source.html">type_traits</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01137.html">std</a> </li> <li class="navelem"><a class="el" href="a00245.html">aligned_storage</a> </li> <li class="footer">Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>