See Source File
Boost Software License 1.0
Copyright (c) 2020, Joakim Brännström. All rights reserved.
Joakim Brännström (joakim.brannstrom@gmx.com)
Utility functions gathered from the D forum. Authors are unknown.