2015-12-14 10:42:46 -05:00
<!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" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2017-02-22 23:37:31 -05:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
2016-11-07 15:21:37 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-12-14 10:42:46 -05:00
< title > Crashpad: crashpad::AlignedAllocator< T, Alignment > Struct Template Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2016-11-08 14:26:59 -05:00
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
2015-12-14 10:42:46 -05:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-01-06 16:09:15 -05:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-12-14 10:42:46 -05:00
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2017-02-22 23:37:31 -05:00
<!-- Generated by Doxygen 1.8.13 -->
2015-12-14 10:42:46 -05:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2016-11-07 15:21:37 -05:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2015-12-14 10:42:46 -05:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacecrashpad.html" > crashpad< / a > < / li > < li class = "navelem" > < a class = "el" href = "structcrashpad_1_1AlignedAllocator.html" > AlignedAllocator< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#pub-types" > Public Types< / a > |
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "structcrashpad_1_1AlignedAllocator-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::AlignedAllocator< T, Alignment > Struct Template Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > A standard allocator that aligns its allocations as requested, suitable for use as an allocator in standard containers.
< a href = "structcrashpad_1_1AlignedAllocator.html#details" > More...< / a > < / p >
< p > < code > #include " util/stdlib/aligned_allocator.h" < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1AlignedAllocator_1_1rebind.html" > rebind< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-types" > < / a >
Public Types< / h2 > < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:acb045b65dc51268841b9d5c3af602be9" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "acb045b65dc51268841b9d5c3af602be9" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > value_type< / b > = T< / td > < / tr >
< tr class = "separator:acb045b65dc51268841b9d5c3af602be9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a45d92b0bf43b5e38b80d0bed7b7a2432" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a45d92b0bf43b5e38b80d0bed7b7a2432" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > pointer< / b > = T *< / td > < / tr >
< tr class = "separator:a45d92b0bf43b5e38b80d0bed7b7a2432" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a6ffd64d7dee92a8147239db3221b5e3d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6ffd64d7dee92a8147239db3221b5e3d" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > const_pointer< / b > = const T *< / td > < / tr >
< tr class = "separator:a6ffd64d7dee92a8147239db3221b5e3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:af41e0ac9f721ee5a3cbb0829f1ee08a3" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "af41e0ac9f721ee5a3cbb0829f1ee08a3" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > reference< / b > = T & < / td > < / tr >
< tr class = "separator:af41e0ac9f721ee5a3cbb0829f1ee08a3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a1436efc28cdede081a47d59e083a5798" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a1436efc28cdede081a47d59e083a5798" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > const_reference< / b > = const T & < / td > < / tr >
< tr class = "separator:a1436efc28cdede081a47d59e083a5798" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a05c26b4c646d6792b01d0ecfe6b2537f" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a05c26b4c646d6792b01d0ecfe6b2537f" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > size_type< / b > = size_t< / td > < / tr >
< tr class = "separator:a05c26b4c646d6792b01d0ecfe6b2537f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a6ff5fcb0feb91b2536425d87a34ad83d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6ff5fcb0feb91b2536425d87a34ad83d" > < / a >
2015-12-14 10:42:46 -05:00
using  < / td > < td class = "memItemRight" valign = "bottom" > < b > difference_type< / b > = ptrdiff_t< / td > < / tr >
< tr class = "separator:a6ff5fcb0feb91b2536425d87a34ad83d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:aeb456dc9a30c3cf15b22cd20d28b959d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aeb456dc9a30c3cf15b22cd20d28b959d" > < / a >
2015-12-14 10:42:46 -05:00
  < / td > < td class = "memItemRight" valign = "bottom" > < b > AlignedAllocator< / b > (const < a class = "el" href = "structcrashpad_1_1AlignedAllocator.html" > AlignedAllocator< / a > & other) CRASHPAD_NOEXCEPT< / td > < / tr >
< tr class = "separator:aeb456dc9a30c3cf15b22cd20d28b959d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:ad081d98bae3fb7b9459df1a58637a919" > < td class = "memTemplParams" colspan = "2" > < a id = "ad081d98bae3fb7b9459df1a58637a919" > < / a >
2015-12-14 10:42:46 -05:00
template< typename U > < / td > < / tr >
< tr class = "memitem:ad081d98bae3fb7b9459df1a58637a919" > < td class = "memTemplItemLeft" align = "right" valign = "top" >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < b > AlignedAllocator< / b > (const < a class = "el" href = "structcrashpad_1_1AlignedAllocator.html" > AlignedAllocator< / a > < U, Alignment > & other) CRASHPAD_NOEXCEPT< / td > < / tr >
< tr class = "separator:ad081d98bae3fb7b9459df1a58637a919" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:aaf814fe385f054dd937d212b4ae8abf1" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aaf814fe385f054dd937d212b4ae8abf1" > < / a >
2015-12-14 10:42:46 -05:00
pointer  < / td > < td class = "memItemRight" valign = "bottom" > < b > address< / b > (reference x) const CRASHPAD_NOEXCEPT< / td > < / tr >
< tr class = "separator:aaf814fe385f054dd937d212b4ae8abf1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a141b5d571d06c131b3576b76cdc9c15f" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a141b5d571d06c131b3576b76cdc9c15f" > < / a >
2015-12-14 10:42:46 -05:00
const_pointer  < / td > < td class = "memItemRight" valign = "bottom" > < b > address< / b > (const_reference x) const CRASHPAD_NOEXCEPT< / td > < / tr >
< tr class = "separator:a141b5d571d06c131b3576b76cdc9c15f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a8cfac009a68ec41e193c84763f4bd524" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a8cfac009a68ec41e193c84763f4bd524" > < / a >
2015-12-14 10:42:46 -05:00
pointer  < / td > < td class = "memItemRight" valign = "bottom" > < b > allocate< / b > (size_type n, std::allocator< void > ::const_pointer hint=0)< / td > < / tr >
< tr class = "separator:a8cfac009a68ec41e193c84763f4bd524" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:ad382de9c41ef6787dea0885204a55bed" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad382de9c41ef6787dea0885204a55bed" > < / a >
2015-12-14 10:42:46 -05:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > deallocate< / b > (pointer p, size_type n)< / td > < / tr >
< tr class = "separator:ad382de9c41ef6787dea0885204a55bed" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a458eb3ddb25b1d2c546823d7c45be17e" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a458eb3ddb25b1d2c546823d7c45be17e" > < / a >
2015-12-14 10:42:46 -05:00
size_type  < / td > < td class = "memItemRight" valign = "bottom" > < b > max_size< / b > () const CRASHPAD_NOEXCEPT< / td > < / tr >
< tr class = "separator:a458eb3ddb25b1d2c546823d7c45be17e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a99ffa99804af42ea978ee0e06d8162cd" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a99ffa99804af42ea978ee0e06d8162cd" > < / a >
2015-12-14 10:42:46 -05:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > construct< / b > (pointer p, const T & val)< / td > < / tr >
< tr class = "separator:a99ffa99804af42ea978ee0e06d8162cd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a44a2a2baccc145e914608c1bc7e47dc2" > < td class = "memTemplParams" colspan = "2" > < a id = "a44a2a2baccc145e914608c1bc7e47dc2" > < / a >
2015-12-14 10:42:46 -05:00
template< class U > < / td > < / tr >
< tr class = "memitem:a44a2a2baccc145e914608c1bc7e47dc2" > < td class = "memTemplItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memTemplItemRight" valign = "bottom" > < b > destroy< / b > (U *p)< / td > < / tr >
< tr class = "separator:a44a2a2baccc145e914608c1bc7e47dc2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2017-06-20 10:44:54 -04:00
< div class = "textblock" > < h3 > template< class T, size_t Alignment = alignof(T)> < br / >
2015-12-14 10:42:46 -05:00
struct crashpad::AlignedAllocator< T, Alignment > < / h3 >
< p > A standard allocator that aligns its allocations as requested, suitable for use as an allocator in standard containers. < / p >
< p > This is similar to < code > std::allocator< T> < / code > , with the addition of an alignment guarantee. < em > Alignment< / em > must be a power of 2. If < em > Alignment< / em > is not specified, the default alignment for type < em > T< / em > is used. < / p >
< / div > < hr / > The documentation for this struct was generated from the following file:< ul >
< li > util/stdlib/aligned_allocator.h< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2017-02-22 23:37:31 -05:00
< / a > 1.8.13
2015-12-14 10:42:46 -05:00
< / small > < / address >
< / body >
< / html >