1 #ifndef Framework_Utilities_make_sentry_h
2 #define Framework_Utilities_make_sentry_h
29 template<
typename T,
typename F> std::unique_ptr<T, F>
make_sentry(
T* iObject,
F iFunc) {
30 return std::unique_ptr<T, F>(iObject, iFunc);
std::unique_ptr< T, F > make_sentry(T *iObject, F iFunc)
NOTE: if iObject is null, then iFunc will not be called.
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)