Telnet++
A C++ library for interacting with Telnet streams
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
telnetpp
detail
return_default.hpp
1
#pragma once
2
3
namespace
telnetpp
{
namespace
detail {
4
5
template
<
class
T>
6
struct
return_default_constructed;
7
8
template
<
class
T>
9
struct
return_default_constructed
10
{
11
T operator()()
12
{
13
return
T{};
14
}
15
};
16
17
template
<>
18
struct
return_default_constructed<void>
19
{
20
void
operator()()
21
{
22
}
23
};
24
25
}}
telnetpp
Definition:
byte_converter.hpp:4
Generated by
1.8.11