aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/new
AgeCommit message (Collapse)Author
2020-09-17Swap new and new.h header filesMatthijs Kooijman
Originally, the Arduino core used "new.h", rather than the standard "new", probably because the implementation was incomplete, and for the most commonly used new and delete operators, no include is needed at all (they are defined implicitly by the compiler). However, now Arduino does expose the "new" name, as an alias for the older "new.h". Given that the standard name is "new", it makes more sense to put the actual content in "new", and make "new.h" a compatibility header that includes "new" instead of the other way around.
2020-05-13Add "new" proxy header for compatibility with c++-standard #include<new>eudoxos