xtd 0.2.0
Loading...
Searching...
No Matches
cdebug.h
Go to the documentation of this file.
1
4#pragma once
5#include "debugstreambuf.h"
6#include <iostream>
7
9namespace xtd {
10 #if !defined(NDEBUG) || defined(DEBUG) || defined(TRACE)
13
24 inline std::ostream cdebug(&cdebugstreambuf);
25 #else
36 inline std::ostream cdebug(nullptr);
37 #endif
38}
Provides an std::stringbuf for xtd::diagnostics::debug.
Definition debugstreambuf.h:21
Contains xtd::debugstreambuf class.
xtd::debugstreambuf cdebugstreambuf
A xtd::debugstreambuf variable used by xtd::cdebug ostream.
Definition cdebug.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10