Updates to make unique_ptr similar to std::unique_ptr

Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS
This commit is contained in:
John Wellbelove 2020-03-19 17:59:45 +00:00
parent 2c84eb9834
commit a06332f163
7 changed files with 18 additions and 4 deletions

View File

@ -38,8 +38,8 @@ SOFTWARE.
///\ingroup utilities
#define ETL_VERSION_MAJOR 16
#define ETL_VERSION_MINOR 6
#define ETL_VERSION_PATCH 1
#define ETL_VERSION_MINOR 7
#define ETL_VERSION_PATCH 0
#define ETL_VERSION ETL_STRINGIFY(ETL_VERSION_MAJOR) "." ETL_STRINGIFY(ETL_VERSION_MINOR) "." ETL_STRINGIFY(ETL_VERSION_PATCH)
#define ETL_VERSION_W ETL_STRINGIFY(ETL_VERSION_MAJOR) L"." ETL_STRINGIFY(ETL_VERSION_MINOR) L"." ETL_STRINGIFY(ETL_VERSION_PATCH)
#define ETL_VERSION_U16 ETL_STRINGIFY(ETL_VERSION_MAJOR) u"." ETL_STRINGIFY(ETL_VERSION_MINOR) u"." ETL_STRINGIFY(ETL_VERSION_PATCH)

View File

@ -1,6 +1,6 @@
{
"name": "Embedded Template Library",
"version": "16.6.1",
"version": "16.7.0",
"authors": {
"name": "John Wellbelove",
"email": "john.wellbelove@etlcpp.com"

View File

@ -1,5 +1,5 @@
name=Embedded Template Library
version=16.6.1
version=16.7.0
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
license=MIT

View File

@ -1,3 +1,9 @@
===============================================================================
16.7.0
Updates to make unique_ptr similar to std::unique_ptr
Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS
===============================================================================
16.6.1
etl::exchange modified for better C++03 compatibility

View File

@ -321,6 +321,10 @@
<Unit filename="../../include/etl/multiset.h" />
<Unit filename="../../include/etl/murmur3.h" />
<Unit filename="../../include/etl/mutex.h" />
<Unit filename="../../include/etl/mutex/mutex_arm.h" />
<Unit filename="../../include/etl/mutex/mutex_freertos.h" />
<Unit filename="../../include/etl/mutex/mutex_gcc_sync.h" />
<Unit filename="../../include/etl/mutex/mutex_std.h" />
<Unit filename="../../include/etl/negative.h" />
<Unit filename="../../include/etl/null_type.h" />
<Unit filename="../../include/etl/nullptr.h" />

View File

@ -889,6 +889,7 @@
<ClInclude Include="..\..\include\etl\limits.h" />
<ClInclude Include="..\..\include\etl\macros.h" />
<ClInclude Include="..\..\include\etl\multi_array.h" />
<ClInclude Include="..\..\include\etl\mutex\mutex_freertos.h" />
<ClInclude Include="..\..\include\etl\negative.h" />
<ClInclude Include="..\..\include\etl\private\choose_namespace.h" />
<ClInclude Include="..\..\include\etl\private\crc16_poly_0x1021_.h" />

View File

@ -819,6 +819,9 @@
<ClInclude Include="..\iterators_for_unit_tests.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="..\..\include\etl\mutex\mutex_freertos.h">
<Filter>ETL\Utilities\Mutex</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\main.cpp">