Fixed quite a few bugs, including makeing find template functions check for trait subset, not trait equality, and add the number required to the satisfied count. Based on what is now breaking, it looks like it's time to give the builtin functions types.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import mem;
|
||||
import util;
|
||||
|
||||
typedef template<T> vector {
|
||||
typedef template<T> vector (Destructable) {
|
||||
T *data;
|
||||
int size;
|
||||
int available;
|
||||
bool destroyItems;
|
||||
|
||||
vector<T> *construct(bool destroyItemsIn) {
|
||||
vector<T>* construct(bool destroyItemsIn) {
|
||||
destroyItems = destroyItemsIn;
|
||||
return construct();
|
||||
size = 0;
|
||||
|
||||
Reference in New Issue
Block a user