mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-17 01:16:21 +08:00
Merge branch 'hotfix/include_new' into development
This commit is contained in:
commit
9eb830c5d6
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -39,6 +39,8 @@ SOFTWARE.
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
///\defgroup memory memory
|
||||
///\ingroup etl
|
||||
namespace etl
|
||||
|
||||
@ -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.
|
||||
//*************************************************************************
|
||||
|
||||
@ -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
|
||||
//*************************************************************************
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
#include "stl/iterator.h"
|
||||
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "container.h"
|
||||
#include "alignment.h"
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "alignment.h"
|
||||
#include "parameter_type.h"
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "alignment.h"
|
||||
#include "parameter_type.h"
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "alignment.h"
|
||||
#include "parameter_type.h"
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "alignment.h"
|
||||
#include "parameter_type.h"
|
||||
|
||||
@ -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.
|
||||
//*************************************************************************
|
||||
|
||||
@ -34,6 +34,8 @@ SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -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())
|
||||
{
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "stl/algorithm.h"
|
||||
|
||||
@ -33,6 +33,8 @@ SOFTWARE.
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "array.h"
|
||||
#include "largest.h"
|
||||
|
||||
@ -37,6 +37,8 @@ SOFTWARE.
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#include "platform.h"
|
||||
#include "algorithm.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user