I present to you some wacky allocation free pledging: https://godbolt.org/z/j999fhb3G EDIT: Improved for call site friendliness (and not needing a specialization for 0 pledges): https://godbolt.org/z/o8fWc5sdx