crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Helper::Memory Namespace Reference

Namespace for global memory helper functions. More...

Functions

template<class T >
static void free (T &target)
 Frees memory by swapping. More...
 
template<class T >
static void freeIf (bool isFree, T &target)
 Frees memory early by swapping, if necessary. More...
 

Detailed Description

Namespace for global memory helper functions.

Function Documentation

◆ free()

template<class T >
static void crawlservpp::Helper::Memory::free ( T &  target)
static

◆ freeIf()

template<class T >
static void crawlservpp::Helper::Memory::freeIf ( bool  isFree,
T &  target 
)
static