PSCF
v1.1
src
util
pointer
isNull.h
1
#ifndef UTIL_IS_NULL_H
2
#define UTIL_IS_NULL_H
3
4
/*
5
* Util Package - C++ Utilities for Scientific Computation
6
*
7
* Copyright 2010 - 2017, The Regents of the University of Minnesota
8
* Distributed under the terms of the GNU General Public License.
9
*/
10
11
namespace
Util
12
{
13
17
template
<
typename
T>
18
inline
bool
isNull
(T* ptr)
19
{
return
(ptr == 0); }
20
21
}
22
#endif
Util
Utility classes for scientific computation.
Definition:
accumulators.mod:1
Util::isNull
bool isNull(FlexPtr< T > p)
Return true iff the enclosed built-in pointer is null.
Definition:
FlexPtr.h:143
Generated on Wed Sep 20 2023 00:52:46 for PSCF by
1.9.5