Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-17 | Swap new and new.h header files | Matthijs 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. | |||
2018-10-26 | Add noexcept specifier to placement new operator | Pharap | |
The standard mandates that placement new should be have a noexcept specifier. | |||
2018-08-18 | Add placement new operator | Pharap | |
2014-09-06 | Fixed license for new.cpp and small cosmetic changes | Cristian Maglie | |
2014-09-06 | Correct implementation of gcc specific internal functions | Cristian Maglie | |
The following empty stubs has been replaced by the gcc flag -fno-threadsafe-static: int __cxa_guard_acquire(__guard *); void __cxa_guard_release (__guard *); void __cxa_guard_abort (__guard *); The following empty stubs has been moved into their specific module abi.cpp: void __cxa_pure_virtual(void) __attribute ((noreturn)); void __cxa_deleted_virtual(void) __attribute ((noreturn)); Fix #107 | |||
2012-12-16 | Add trivial new[] and delete[] operators (Justin R. Cutler) | Cristian Maglie | |
Fixes #73 Fixes #883 | |||
2011-04-10 | Added virtual destructor to Printable, which also requires new and delete ↵ | amcewen | |
operators to be added |