-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallocator__base_8hpp_source.html
149 lines (147 loc) · 29.3 KB
/
allocator__base_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!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"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>tlx: tlx/allocator_base.hpp Source File</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">tlx
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('allocator__base_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle">
<div class="title">allocator_base.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="allocator__base_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * tlx/allocator_base.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Part of tlx - http://panthema.net/tlx</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2015 Timo Bingmann <[email protected]></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * All rights reserved. Published under the Boost Software License, Version 1.0</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifndef TLX_ALLOCATOR_BASE_HEADER</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#define TLX_ALLOCATOR_BASE_HEADER</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <cstddef></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <type_traits></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span><a class="code" href="namespacetlx.html">tlx</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Type></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html"> 21</a></span> <span class="keyword">class </span><a class="code" href="classtlx_1_1AllocatorBase.html">AllocatorBase</a></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a6b72e54baf646b08b4b87f987f583dcb"> 23</a></span>  <span class="keyword">static</span> constexpr <span class="keywordtype">bool</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a6b72e54baf646b08b4b87f987f583dcb">debug</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#af0f70ef64d23e2379bacb63968e68b45"> 26</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#af0f70ef64d23e2379bacb63968e68b45">value_type</a> = Type;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc"> 27</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc">pointer</a> = Type *;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a5485252cb202b5d33f98409d3390f233"> 28</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a5485252cb202b5d33f98409d3390f233">const_pointer</a> = <span class="keyword">const</span> Type *;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a01e1df50060518200c2819bad5fd350e"> 29</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a01e1df50060518200c2819bad5fd350e">reference</a> = Type&;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a99645e3f798107152f56c026fb86d696"> 30</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a99645e3f798107152f56c026fb86d696">const_reference</a> = <span class="keyword">const</span> Type&;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#af38ce1af42d538f410180c265518d4f0"> 31</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#af38ce1af42d538f410180c265518d4f0">size_type</a> = std::size_t;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#ace405568d0b2f3fad4990044252c7732"> 32</a></span>  <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#ace405568d0b2f3fad4990044252c7732">difference_type</a> = std::ptrdiff_t;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> //! C++11 type flag</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a27c1411c7e56cf4fa88f594b97c6b3fa"> 35</a></span> <span class="comment"></span> <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a27c1411c7e56cf4fa88f594b97c6b3fa">is_always_equal</a> = std::true_type;<span class="comment"></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> //! C++11 type flag</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a19da1717dc97ff0882e0d64ab69d547f"> 37</a></span> <span class="comment"></span> <span class="keyword">using</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a19da1717dc97ff0882e0d64ab69d547f">propagate_on_container_move_assignment</a> = std::true_type;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> //! Returns the address of x.</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#ac76accbf197fcef37b3bebea103e4bfc"> 40</a></span> <span class="comment"></span> <a class="code" href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc">pointer</a> <a class="code" href="classtlx_1_1AllocatorBase.html#ac76accbf197fcef37b3bebea103e4bfc">address</a>(<a class="code" href="classtlx_1_1AllocatorBase.html#a01e1df50060518200c2819bad5fd350e">reference</a> x) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> std::addressof(x);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"></span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> //! Returns the address of x.</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a6fdb0e8aec957fe7b0473ab43a32d906"> 45</a></span> <span class="comment"></span> <a class="code" href="classtlx_1_1AllocatorBase.html#a5485252cb202b5d33f98409d3390f233">const_pointer</a> <a class="code" href="classtlx_1_1AllocatorBase.html#a6fdb0e8aec957fe7b0473ab43a32d906">address</a>(<a class="code" href="classtlx_1_1AllocatorBase.html#a99645e3f798107152f56c026fb86d696">const_reference</a> x) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> std::addressof(x);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"></span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> //! Maximum size possible to allocate</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#ac2a85e463df4e95c1bf051cfb8237805"> 50</a></span> <span class="comment"></span> <a class="code" href="classtlx_1_1AllocatorBase.html#af38ce1af42d538f410180c265518d4f0">size_type</a> <a class="code" href="classtlx_1_1AllocatorBase.html#ac2a85e463df4e95c1bf051cfb8237805">max_size</a>() const noexcept {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">return</span> size_t(-1) / <span class="keyword">sizeof</span>(Type);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"></span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"> //! Constructs an element object on the location pointed by p.</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#acddcb4eb6202d3d41f2afcc9933e1777"> 55</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classtlx_1_1AllocatorBase.html#acddcb4eb6202d3d41f2afcc9933e1777">construct</a>(<a class="code" href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc">pointer</a> p, <a class="code" href="classtlx_1_1AllocatorBase.html#a99645e3f798107152f56c026fb86d696">const_reference</a> value) {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  ::new (static_cast<void*>(p))Type(value); <span class="comment">// NOLINT</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#if defined(_MSC_VER)</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// disable false-positive warning C4100: 'p': unreferenced formal parameter</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#pragma warning(disable:4100)</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"> //! Destroys in-place the object pointed by p.</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a19ed9be1546e344955208e4ec59dd9a4"> 65</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a19ed9be1546e344955208e4ec59dd9a4">destroy</a>(<a class="code" href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc">pointer</a> p) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  p->~Type();</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#if defined(_MSC_VER)</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"></span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> //! Constructs an element object on the location pointed by p.</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"></span> <span class="keyword">template</span> <<span class="keyword">typename</span> SubType, <span class="keyword">typename</span>... Args></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a37b3525a584d58f9b0bf8cfa8bc52cca"> 74</a></span>  <span class="keywordtype">void</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a37b3525a584d58f9b0bf8cfa8bc52cca">construct</a>(SubType* p, Args&& ... args) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  ::new (static_cast<void*>(p))SubType(std::forward<Args>(args) ...); <span class="comment">// NOLINT</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"></span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> //! Destroys in-place the object pointed by p.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"></span> <span class="keyword">template</span> <<span class="keyword">typename</span> SubType></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classtlx_1_1AllocatorBase.html#a73ac79dce9c71cc39b3d1eb262116ab7"> 80</a></span>  <span class="keywordtype">void</span> <a class="code" href="classtlx_1_1AllocatorBase.html#a73ac79dce9c71cc39b3d1eb262116ab7">destroy</a>(SubType* p) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  p->~SubType();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> };</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> } <span class="comment">// namespace tlx</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#endif // !TLX_ALLOCATOR_BASE_HEADER</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">/******************************************************************************/</span></div><div class="ttc" id="classtlx_1_1AllocatorBase_html_a6fdb0e8aec957fe7b0473ab43a32d906"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a6fdb0e8aec957fe7b0473ab43a32d906">tlx::AllocatorBase::address</a></div><div class="ttdeci">const_pointer address(const_reference x) const noexcept</div><div class="ttdoc">Returns the address of x. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00045">allocator_base.hpp:45</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a19ed9be1546e344955208e4ec59dd9a4"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a19ed9be1546e344955208e4ec59dd9a4">tlx::AllocatorBase::destroy</a></div><div class="ttdeci">void destroy(pointer p) const noexcept</div><div class="ttdoc">Destroys in-place the object pointed by p. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00065">allocator_base.hpp:65</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a5485252cb202b5d33f98409d3390f233"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a5485252cb202b5d33f98409d3390f233">tlx::AllocatorBase::const_pointer</a></div><div class="ttdeci">const Type * const_pointer</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00028">allocator_base.hpp:28</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a99645e3f798107152f56c026fb86d696"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a99645e3f798107152f56c026fb86d696">tlx::AllocatorBase::const_reference</a></div><div class="ttdeci">const Type & const_reference</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00030">allocator_base.hpp:30</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_af0f70ef64d23e2379bacb63968e68b45"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#af0f70ef64d23e2379bacb63968e68b45">tlx::AllocatorBase::value_type</a></div><div class="ttdeci">Type value_type</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00026">allocator_base.hpp:26</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a19da1717dc97ff0882e0d64ab69d547f"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a19da1717dc97ff0882e0d64ab69d547f">tlx::AllocatorBase::propagate_on_container_move_assignment</a></div><div class="ttdeci">std::true_type propagate_on_container_move_assignment</div><div class="ttdoc">C++11 type flag. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00037">allocator_base.hpp:37</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_af38ce1af42d538f410180c265518d4f0"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#af38ce1af42d538f410180c265518d4f0">tlx::AllocatorBase::size_type</a></div><div class="ttdeci">std::size_t size_type</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00031">allocator_base.hpp:31</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a1e67311e1f4ae3600af384f0a7e6addc"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a1e67311e1f4ae3600af384f0a7e6addc">tlx::AllocatorBase::pointer</a></div><div class="ttdeci">Type * pointer</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00027">allocator_base.hpp:27</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a01e1df50060518200c2819bad5fd350e"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a01e1df50060518200c2819bad5fd350e">tlx::AllocatorBase::reference</a></div><div class="ttdeci">Type & reference</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00029">allocator_base.hpp:29</a></div></div>
<div class="ttc" id="namespacetlx_html"><div class="ttname"><a href="namespacetlx.html">tlx</a></div><div class="ttdef"><b>Definition:</b> <a href="exclusive__scan_8hpp_source.html#l00017">exclusive_scan.hpp:17</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_acddcb4eb6202d3d41f2afcc9933e1777"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#acddcb4eb6202d3d41f2afcc9933e1777">tlx::AllocatorBase::construct</a></div><div class="ttdeci">void construct(pointer p, const_reference value)</div><div class="ttdoc">Constructs an element object on the location pointed by p. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00055">allocator_base.hpp:55</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a27c1411c7e56cf4fa88f594b97c6b3fa"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a27c1411c7e56cf4fa88f594b97c6b3fa">tlx::AllocatorBase::is_always_equal</a></div><div class="ttdeci">std::true_type is_always_equal</div><div class="ttdoc">C++11 type flag. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00035">allocator_base.hpp:35</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_ace405568d0b2f3fad4990044252c7732"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#ace405568d0b2f3fad4990044252c7732">tlx::AllocatorBase::difference_type</a></div><div class="ttdeci">std::ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00032">allocator_base.hpp:32</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a37b3525a584d58f9b0bf8cfa8bc52cca"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a37b3525a584d58f9b0bf8cfa8bc52cca">tlx::AllocatorBase::construct</a></div><div class="ttdeci">void construct(SubType *p, Args &&...args)</div><div class="ttdoc">Constructs an element object on the location pointed by p. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00074">allocator_base.hpp:74</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_ac2a85e463df4e95c1bf051cfb8237805"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#ac2a85e463df4e95c1bf051cfb8237805">tlx::AllocatorBase::max_size</a></div><div class="ttdeci">size_type max_size() const noexcept</div><div class="ttdoc">Maximum size possible to allocate. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00050">allocator_base.hpp:50</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a73ac79dce9c71cc39b3d1eb262116ab7"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a73ac79dce9c71cc39b3d1eb262116ab7">tlx::AllocatorBase::destroy</a></div><div class="ttdeci">void destroy(SubType *p) const noexcept</div><div class="ttdoc">Destroys in-place the object pointed by p. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00080">allocator_base.hpp:80</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_a6b72e54baf646b08b4b87f987f583dcb"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#a6b72e54baf646b08b4b87f987f583dcb">tlx::AllocatorBase::debug</a></div><div class="ttdeci">static constexpr bool debug</div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00023">allocator_base.hpp:23</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html">tlx::AllocatorBase</a></div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00021">allocator_base.hpp:21</a></div></div>
<div class="ttc" id="classtlx_1_1AllocatorBase_html_ac76accbf197fcef37b3bebea103e4bfc"><div class="ttname"><a href="classtlx_1_1AllocatorBase.html#ac76accbf197fcef37b3bebea103e4bfc">tlx::AllocatorBase::address</a></div><div class="ttdeci">pointer address(reference x) const noexcept</div><div class="ttdoc">Returns the address of x. </div><div class="ttdef"><b>Definition:</b> <a href="allocator__base_8hpp_source.html#l00040">allocator_base.hpp:40</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_8b4d4685f7eaf29e53aad23645930303.html">tlx</a></li><li class="navelem"><a class="el" href="allocator__base_8hpp.html">allocator_base.hpp</a></li>
<li class="footer">Generated on Sat Oct 2 2021 20:29:00 for tlx by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>