summaryrefslogtreecommitdiff
path: root/src/core/smallstack_type.hpp
AgeCommit message (Collapse)Author
2019-04-06Codechange: Replace custom mutex code with C++11 mutex'es.Michael Lutz
A conforming compiler with a valid <mutex>-header is expected. Most parts of the code assume that locking a mutex will never fail unexpectedly, which is generally true on all common platforms that don't just pretend to be C++11. The use of condition variables in driver code is checked.
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Resize() with std::vector::resize()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: [core] Implement SmallVector using std::vectorHenry Wilson
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references.
2018-04-21Fix: Remove need to instantiate SmallStack's pool object by making it a ↵Charles Pigott
singleton method
2014-02-16(svn r26343) -Fix: Rewrite SmallStack so that it doesn't use a pool and is ↵fonsinchen
reentrant.
2013-10-20(svn r25889) -Codechange: Add forgotten file.fonsinchen