Control Surface  1.2.0
MIDI Control Surface library for Arduino
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
MIDI_Notes::F
constexpr int8_t F
Definition: Notes.hpp:23
std
Definition: vector.cpp:5