Arduino Filters
master
Filter library for Arduino
src
AH
STL
vector.cpp
Go to the documentation of this file.
1
#if defined(TEENSYDUINO) && !defined(AVR)
2
#include "vector"
3
#include <
AH/Error/Error.hpp
>
4
5
namespace
std
{
6
void
__throw_bad_alloc() {
FATAL_ERROR
(F(
"bad_alloc"
), 0x6371); }
7
8
void
__throw_length_error(
char
const
*e) {
9
FATAL_ERROR
(F(
"length_error: "
) << e, 0x6372);
10
}
11
}
// namespace std
12
#endif
Error.hpp
FATAL_ERROR
#define FATAL_ERROR(msg, errc)
Print the error message and error code, and stop the execution.
Definition:
Error.hpp:60
std
Definition:
vector.cpp:5
Generated by
1.9.4