Comment Re:As always, guidelines are for beginners (Score 1) 262
Yes, it takes a deleter function as an optional parameter, so it can be used for pretty much any resource.
"If you own a machine, you are in turn owned by it, and spend your time serving it..." -- Marion Zimmer Bradley, _The Forbidden Tower_