1 Star 0 Fork 0

mobangjack / memory

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
md__c_h_a_n_g_e_l_o_g.html 7.59 KB
一键复制 编辑 原始数据 按行查看 历史
Jonathan Müller 提交于 2020-05-05 17:04 . Update documentation
<!-- HTML header for doxygen 1.8.16-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>memory: Upcoming Changes</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="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">memory
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="main-nav">
<ul class="sm sm-dox" id="main-menu">
<li><a href="index.html">Main Page</a></li>
<li><a href="md_doc_tutorial.html">Tutorial</a></li>
<li><a href="namespacefoonathan_1_1memory.html">Index</a></li>
<li><a href="files.html">Files</a></li>
</ul>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
</div><!-- top -->
<div class="PageDoc"><div class="header">
<div class="headertitle">
<div class="title">Upcoming Changes </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>BREAKING: Removed the use of the compatibility library to automatically generate macros and workaround for older compilers. The important compatibility workarounds like the <code>__builtin_clz</code> extension are still used, but workarounds for missing C++11 library features have been removed. In particular, the library now requires compiler support for <code>noexcept</code>, <code>constexpr</code>, <code>alignof</code> and <code>thread_local</code>. This means that GCC 4.8 and Visual Studio version 12.0 (both released in 2013), are now longer supported.</p>
<h1><a class="anchor" id="autotoc_md1"></a>
Adapter</h1>
<p>BREAKING: Remove <code>Mutex</code> support from <code>allocator_reference</code> and consequently from <code>std_allocator</code>, <code>allocator_deleter</code>, ... Embedding the <code>Mutex</code> with the reference was <em>fundamentally</em> broken and unusable to ensure thread safety. Use a reference to a <code>thread_safe_allocator</code> instead, which actually guarantees thread safety.</p>
<h1><a class="anchor" id="autotoc_md2"></a>
Bugfixes</h1>
<ul>
<li>more CMake improvements</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md4"></a>
0.6-2</h1>
<p>Various bug fixes, compiler warning workarounds and CMake improvements accumulated over past two years. Most notable changes:</p>
<ul>
<li>cross compilation works now</li>
<li><code>fallback_allocator</code> is default constructible if stateless</li>
<li>add <code>unique_base_ptr</code> to support a unique ptr to a base class</li>
<li>add <code>allocate_unique</code> overloads that take a custom mutex</li>
<li>allocator deleters are default constructible</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md6"></a>
0.6-1</h1>
<ul>
<li>fix CMake configuration error</li>
<li>fix double free error in <code>segregator</code></li>
<li>add <code>static_assert()</code> when default constructing a stateful <code>std_allocator</code></li>
<li>fix various compiler warnings</li>
</ul>
<h1><a class="anchor" id="autotoc_md7"></a>
0.6</h1>
<h2><a class="anchor" id="autotoc_md8"></a>
Tool</h2>
<ul>
<li>better MSVC support</li>
<li>improved compilation time</li>
</ul>
<h2><a class="anchor" id="autotoc_md9"></a>
Core</h2>
<ul>
<li>add literal operators for memory sizes (<code>4_KiB</code>)</li>
<li>more flexible <code>make_block_allocator</code></li>
<li>composable allocator concept</li>
</ul>
<h2><a class="anchor" id="autotoc_md10"></a>
Allocator</h2>
<ul>
<li>improved <code>temporary_allocator</code>: explicit separation into <code>temporary_stack</code>, improved automatic creation</li>
<li>new <code>memory_stack_raii_unwind</code> for automatic unwinding</li>
<li>new <code>iteration_allocator</code></li>
<li>make allocators composable</li>
<li>add facilities for joint memory allocations</li>
</ul>
<h2><a class="anchor" id="autotoc_md11"></a>
Adapter</h2>
<ul>
<li>add <code>shared_ptr_node_size</code></li>
<li>add <code>string</code> container typedef</li>
<li>add <code>fallback_allocator</code></li>
<li>add <code>segregator</code></li>
</ul>
<h2><a class="anchor" id="autotoc_md12"></a>
Bugfixes</h2>
<ul>
<li>OSX support</li>
<li>various warnings fixed</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md14"></a>
0.5</h1>
<ul>
<li>improved CMake build system, now supports cmake installation and <code>find_package()</code></li>
<li>improved low-level allocators and added <code>malloc_allocator</code></li>
<li>add virtual memory interface and allocators</li>
<li>add allocators using a fixed-sized storage block</li>
<li>introduced <code>BlockAllocator</code> concept and various implementations</li>
<li>new class template <code>memory_arena</code> that is used inside the higher level allocators, allows more control over the internal allocations</li>
<li>add wrappers/adapters for the polymorphic memory resource TS</li>
<li>improved tracking classes</li>
<li>other improvements like concept checks and more exception classes</li>
<li>internal changes</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md16"></a>
0.4</h1>
<ul>
<li>polished up the interface, many breaking changes in the form of renaming and new header files</li>
<li>added unified error handling facilities and handler functions in case exceptions are not supported</li>
<li>improved old allocator adapters by introducing allocator_storage template</li>
<li>improved allocator_traits making them more powerful and able to handle Allcoator types directly</li>
<li>added type-erased allocator storage</li>
<li>added node-size debugger that obtains information about the container node sizes</li>
<li>most parts now work on a freestanding implementation</li>
<li>used foonathan/compatibility for CMake compatibility checks</li>
<li>added miscellaneous tiny features all over the place</li>
<li>many internal changes and bugfixes</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md18"></a>
0.3</h1>
<ul>
<li>added debugging options such as memory filling and deallocation and leak check</li>
<li>improved performance of pool allocators</li>
<li>changed complete project structure and CMake</li>
<li>many internal changes and bugfixes and automated testing</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md20"></a>
0.2</h1>
<ul>
<li>added temporary_allocator as portable alloca</li>
<li>added small_node_pool type optimized for low-overhead small object allocations</li>
<li>added various allocator adapters including a thread_safe_allocator for locking</li>
<li>better compiler support</li>
<li>many internal changes and bugfixes</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md22"></a>
0.1-1</h1>
<ul>
<li>critical bugfix in memory_stack</li>
<li>added smart pointer example</li>
</ul>
<hr />
<h1><a class="anchor" id="autotoc_md24"></a>
0.1</h1>
<ul>
<li>first beta version </li>
</ul>
</div></div><!-- contents -->
</div><!-- PageDoc -->
<!-- HTML footer for doxygen 1.8.16-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
1
https://gitee.com/mobangjack/memory.git
git@gitee.com:mobangjack/memory.git
mobangjack
memory
memory
gh-pages

搜索帮助