(no title)
arka2147483647 | 1 year ago
If the underlying resource can not behave like a class, it would be better to expose a free function style api, eg:
Handle h = ResourceGet();
ResourceDoSomething(h);
h.release();arka2147483647 | 1 year ago
If the underlying resource can not behave like a class, it would be better to expose a free function style api, eg:
Handle h = ResourceGet();
ResourceDoSomething(h);
h.release();
No comments yet.