Merge branch 'hotfix/include_new' into development

This commit is contained in:
John Wellbelove 2019-06-01 17:03:01 +01:00
commit 9eb830c5d6
26 changed files with 59 additions and 7 deletions

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -31,6 +31,8 @@ SOFTWARE.
#ifndef ETL_FLAT_MAP_INCLUDED
#define ETL_FLAT_MAP_INCLUDED
#include <new>
#include "platform.h"
#include "reference_flat_map.h"
#include "pool.h"

View File

@ -31,6 +31,8 @@ SOFTWARE.
#ifndef ETL_FLAT_MULTMAP_INCLUDED
#define ETL_FLAT_MULTMAP_INCLUDED
#include <new>
#include "platform.h"
#include "reference_flat_multimap.h"
#include "pool.h"

View File

@ -31,6 +31,8 @@ SOFTWARE.
#ifndef ETL_FLAT_SET_INCLUDED
#define ETL_FLAT_SET_INCLUDED
#include <new>
#include "platform.h"
#include "reference_flat_set.h"
#include "pool.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -39,6 +39,8 @@ SOFTWARE.
#include <string.h>
#include <new>
///\defgroup memory memory
///\ingroup etl
namespace etl

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"
@ -230,7 +232,7 @@ namespace etl
, root_node(nullptr)
{
}
//*************************************************************************
/// The constructor that is called from derived classes.
//*************************************************************************

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"
@ -230,14 +232,14 @@ namespace etl
, root_node(nullptr)
{
}
//*************************************************************************
/// Destructor.
//*************************************************************************
~multiset_base()
{
}
//*************************************************************************
/// Attach the provided node to the position provided
//*************************************************************************

View File

@ -31,6 +31,8 @@ SOFTWARE.
#ifndef ETL_OPTIONAL_INCLUDED
#define ETL_OPTIONAL_INCLUDED
#include <new>
#include "platform.h"
#include "alignment.h"
#include "type_traits.h"

View File

@ -31,6 +31,8 @@ SOFTWARE.
#ifndef ETL_PACKET_INCLUDED
#define ETL_PACKET_INCLUDED
#include <new>
#include "platform.h"
#include "static_assert.h"
#include "alignment.h"
@ -51,7 +53,7 @@ namespace etl
/// to the size and alignment requirements.
///\ingroup packet
//***************************************************************************
template <typename TBase, size_t SIZE, size_t ALIGNMENT>
template <typename TBase, size_t SIZE, size_t ALIGNMENT>
class packet
{
public:
@ -111,7 +113,7 @@ namespace etl
}
private:
packet(const packet& other);
packet& operator =(const packet& other);

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include "platform.h"
#include <new>
#include "stl/algorithm.h"
#include "stl/iterator.h"

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "container.h"
#include "alignment.h"

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "alignment.h"
#include "parameter_type.h"

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "alignment.h"
#include "parameter_type.h"

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "alignment.h"
#include "parameter_type.h"

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "alignment.h"
#include "parameter_type.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "container.h"
#include "pool.h"
@ -762,7 +764,7 @@ namespace etl
typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
//*************************************************************************
/// Assignment operator.
//*************************************************************************

View File

@ -34,6 +34,8 @@ SOFTWARE.
#include <stddef.h>
#include <stdint.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"
@ -1284,7 +1286,7 @@ namespace etl
else
{
if (pbucket == first)
{
{
// We erased the first so, we need to search again from where we erased.
while (first->empty())
{

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stddef.h>
#include <new>
#include "platform.h"
#include "stl/algorithm.h"

View File

@ -33,6 +33,8 @@ SOFTWARE.
#include <stdint.h>
#include <new>
#include "platform.h"
#include "array.h"
#include "largest.h"

View File

@ -37,6 +37,8 @@ SOFTWARE.
#include <stdint.h>
#include <stddef.h>
#include <new>
#include "platform.h"
#include "algorithm.h"
#include "type_traits.h"