diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2020-09-17 17:15:42 +0200 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2020-09-17 20:01:23 +0200 |
commit | 07b6bd188f2395551fbd5eee3c3ca7ca3769bbbc (patch) | |
tree | 0853eae4772b01e5b3be8e025e6bb5f2edf12d4a /cores/arduino/HardwareSerial.cpp | |
parent | 9a02bd8043c41f6ee57f136083ffc8bf8ec2bdc9 (diff) |
Clean up and complete `<new>` header
This makes this header complete up to including C++14, except two
exception classes that cannot be defined without `<exception>`.
The functions related to the "new_handler" are declared but not actually
defined, to prevent overhead and complexity. They are still declared to
allow implementing them in user code if needed.
This makes the implementation of all operator new and delete functions
comply with the C++11/C++14 specification in terms of which should be
actually implemented and which should be delegate to other functions.
There are still some areas where these implementations are not entirely
standards-compliant, which will be fixed in subsequent commits.
This fixes part of #287 and fixes #47.
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
0 files changed, 0 insertions, 0 deletions