39#ifndef INCLUDED_DISTI_SCOPED_PTR_H
40#define INCLUDED_DISTI_SCOPED_PTR_H
68#if defined( DISTI_HAS_RVAL_REFS )
73 *
this = std::move( that );
118 T*
Get()
const {
return _p; }
Definition: scoped_ptr.h:53
T & operator*() const
Definition: scoped_ptr.h:89
void Reset(T *p=NULL)
Definition: scoped_ptr.h:105
ScopedPtr & operator=(ScopedPtr &&that)
Definition: scoped_ptr.h:79
T * operator->() const
Definition: scoped_ptr.h:97
T * Get() const
Definition: scoped_ptr.h:118
bool IsNull() const
Definition: scoped_ptr.h:112
ScopedPtr(T *p=NULL)
Definition: scoped_ptr.h:57
ScopedPtr(ScopedPtr &&that)
Definition: scoped_ptr.h:71
Contains the DistiAssert macro.
#define GLS_ASSERT(exp)
Definition: disti_assert.h:149
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:245
#define DISTI_FUNC_NOEXCEPT
Macro to wrap the noexcept keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:239
Definition: bmpimage.h:46