[#BloombergLP-bslstl-HashTable_Util-assertNotNullPointer-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable_Util.adoc[HashTable_Util]::assertNotNullPointer :relfileprefix: ../../../ :mrdocs: `assertNotNullPointer` overloads == Synopses Declared in `<bslstl_hashtable.h>` Assert that the passed argument (the specified `ptr`) is not a null pointer value. Note that this utility is necessary as the `HashTable` class template may be instantiated with function pointers for the hasher or comparator policies, but there is no easy way to assert in general that the value of a generic type passed to a function is not a null pointer value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static void xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-08.adoc[assertNotNullPointer](TYPE&); ---- [.small]#xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-08.adoc[_» more..._]# Same as the preceding overload for a mutable pointer lvalue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static void xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-05.adoc[assertNotNullPointer](TYPE*& ptr); ---- [.small]#xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-05.adoc[_» more..._]# Same as the preceding overload for a pointer lvalue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static void xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-01.adoc[assertNotNullPointer](TYPE const*& ptr); ---- [.small]#xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#