// RuntimeForStatic base library | C+- (SysRoutine) | Author: Sergei Y.Kitáev
#pragma once
#include "include_restrictions.h"
namespace RuntimeForStatic {
//==================================================================================================

template<typename T>static const T* $checking::VerifyPointer( $CI_REF, const T* pointer )
{
   $Checking::VerifyPointer($ci, pointer ); return pointer;
}

//--------------------------------------------------------------------------------------------------

template<typename T>static const T* $checking::VerifyPointerArgument( $CI_REF,
                                                                      PCWSTR argumentVarName,
                                                                      const T* pointer )
{
   $Checking::VerifyPointer($ci, argumentVarName, pointer ); return pointer;
}

//==================================================================================================
} // RuntimeForStatic
