ArduinoSTL Problem ???

If I compile

#include <ArduinoSTL.h>
using namespace std;
vector v;
void setup()
{
}

void loop()
{
}

I am getting


C:...Arduino\libraries\ArduinoSTL\src\del_opnt.cpp:25:56: error: 'nothrow_t' in namespace 'std' does not name a type

_UCXXEXPORT void operator delete(void* ptr, const std::nothrow_t& ) throw() {

^~~~~~~~~

C:...Arduino\libraries\ArduinoSTL\src\del_ops.cpp:25:50: error: 'std::size_t' has not been declared

_UCXXEXPORT void operator delete(void* ptr, std::size_t) throw(){

^~~~~~

exit status 1

Error compiling for board Arduino Uno.

What might be the problem ?

I am using the latest versions of IDE and library.

Hi, Rolfs
This Problem under Arduino IDE 1.8.13 version will happen, you can solve it by two ways:

  1. Change code from #include <ArduinoSTL.h> to #include "ArduinoSTL.h"

  2. Use Arduino IDE 1.8.12 or below version and wait new release.

Someone has post the similar problem in here :