]> src.bluestatic.org Git - zcpointer.git/commit
In OwnedPtrDeleter<T>, store a vptr for a behavior function. master
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 1 Jan 2017 07:07:19 +0000 (02:07 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 1 Jan 2017 07:07:19 +0000 (02:07 -0500)
commitae3417aab5c1d0da9684fe897f8ae294d0c9dfa5
treeda6678675358fcc52cfb9fee4ba6068c85aea8e2
parentc6696e6605f134fa9cfd304aa38e19b9598d3ae8
In OwnedPtrDeleter<T>, store a vptr for a behavior function.

Storing the behavior enum value results in more generated code, since the call
operator needs to perform a comparison.
zcpointer.h