In my case, the allocator is just an empty struct that calls global functions, but it's not the global allocator. Having to pass Default::default() to every constructor is awkward. Is it possible to make the standard constructors like new, new_uninit etc available to non-standard allocators if the allocator implements Default? Then I can just do this:
type MyBox<T> = Box<T, MyAllocator>;
MyBox::new(foo)