xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
cdebug.h
Go to the documentation of this file.
1
4#pragma once
5#include <iostream>
6#include "debugstreambuf.h"
7
11
13namespace xtd {
14#if !defined(NDEBUG) || defined(DEBUG) || defined(TRACE)
21 inline std::ostream cdebug(&__cdebugstreambuf__);
22#else
29 inline std::ostream cdebug(nullptr);
30#endif
31}
Provides an std::stringbuf for xtd::diagnostics::debug.
Definition: debugstreambuf.h:17
Contains xtd::debugstreambuf class.
std::ostream cdebug & __cdebugstreambuf__
Provides an std::ostream for xtd::diagnostics::debug.
Definition: cdebug.h:21
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17