aboutsummaryrefslogtreecommitdiff
path: root/common/memory.h
AgeCommit message (Collapse)Author
2017-09-30COMMON: Add standard count & count+copy array constructorsColin Snover
These are additions to match C++11 std::vector common init patterns, to make Common::Array cover more common use cases where C-style arrays are currently used (and should not be).
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2011-11-17COMMON: Move <new> include into scummsys.h.Alyssa Milburn
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work.
2011-11-16COMMON: Improve storage management of Array.Johannes Schickel
Now our Array class distinguishs between initialized and uninitialized objects. It furthermore always calls the destructor of no longer contained elements. This should help with non-POD objects stored in our Array class. Thanks to Bertrand for his feedback on this.