xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
xtd.core
include
xtd
get_out_rdbuf.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <iostream>
6
8
template
<
class
char
_t>
9
inline
std::basic_streambuf<char_t>* __get_out_rdbuf() {
return
nullptr
;}
10
11
template
<>
12
inline
std::basic_streambuf<char>* __get_out_rdbuf<char>() {
13
static
std::basic_streambuf<char>* rdbuf = std::cout.rdbuf();
14
return
rdbuf;
15
}
16
17
template
<>
18
inline
std::basic_streambuf<wchar_t>* __get_out_rdbuf<wchar_t>() {
19
static
std::basic_streambuf<wchar_t>* rdbuf = std::wcout.rdbuf();
20
return
rdbuf;
21
}
Generated on Tue Mar 12 2024 16:25:08 for xtd - Reference Guide by
Gammasoft
. All rights reserved.