Updated stdlib to experimental allocator first. Updates to DString, String and anything using new_* syntax.

This commit is contained in:
Christoffer Lerno
2025-02-23 22:54:48 +01:00
parent 4f72bc4be9
commit 70029cc4b8
43 changed files with 248 additions and 384 deletions

View File

@@ -2,7 +2,7 @@ module priorityqueue_test @test;
import std::collections;
import std::collections::priorityqueue;
def Queue = PriorityQueue{int};
def Queue = PriorityQueue(<int>);
fn void priorityqueue()
{
@@ -32,7 +32,7 @@ fn void priorityqueue()
assert(x == 3, "got %d; want %d", x, 3);
}
def QueueMax = PriorityQueueMax{int};
def QueueMax = PriorityQueueMax(<int>);
fn void priorityqueue_max()
{