C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tpf_memory_leak_detect.hpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <atlstr.h>
Include dependency graph for tpf_memory_leak_detect.hpp:

Go to the source code of this file.

Macros

#define NOMINMAX
 
#define STDSTRING   std::string
 
#define STRSTREAM   std::ostringstream
 
#define UNISTR(txt)   txt
 
#define UNITXT(txt)   UNISTR(#txt)
 
#define STDCOUT   std::cout
 
#define Tpf_MemLeakCheck(varname)
 
#define Tpf_MemLeakCheckReport(varname)
 
#define Tpf_MemLeakCheckMessage(varname)
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

Definition at line 13 of file tpf_memory_leak_detect.hpp.

◆ STDCOUT

#define STDCOUT   std::cout

Definition at line 35 of file tpf_memory_leak_detect.hpp.

◆ STDSTRING

#define STDSTRING   std::string

Definition at line 31 of file tpf_memory_leak_detect.hpp.

◆ STRSTREAM

#define STRSTREAM   std::ostringstream

Definition at line 32 of file tpf_memory_leak_detect.hpp.

◆ Tpf_MemLeakCheck

#define Tpf_MemLeakCheck (   varname)

Definition at line 231 of file tpf_memory_leak_detect.hpp.

◆ Tpf_MemLeakCheckMessage

#define Tpf_MemLeakCheckMessage (   varname)

Definition at line 233 of file tpf_memory_leak_detect.hpp.

◆ Tpf_MemLeakCheckReport

#define Tpf_MemLeakCheckReport (   varname)

Definition at line 232 of file tpf_memory_leak_detect.hpp.

◆ UNISTR

#define UNISTR (   txt)    txt

Definition at line 33 of file tpf_memory_leak_detect.hpp.

◆ UNITXT

#define UNITXT (   txt)    UNISTR(#txt)

Definition at line 34 of file tpf_memory_leak_detect.hpp.