xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
extensions
stream_insertion_operator.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#define __XTD_STD_INTERNAL__
6
#include "
../internal/__xtd_std_version.hpp
"
7
#undef __XTD_STD_INTERNAL__
8
#include <compare>
9
11
namespace
xtd
{
13
namespace
extensions
{
30
template
<
typename
type_t,
typename
string
able_t>
31
class
stream_insertion_operator {
32
public
:
34
40
friend
auto
operator <<
(std::ostream& os,
const
type_t& value) -> std::ostream& {
return
os << value.to_string();}
42
43
private
:
44
friend
stringable_t;
45
stream_insertion_operator
() =
default
;
46
};
47
}
48
}
__xtd_std_version.hpp
xtd::extensions::stream_insertion_operator
Internal comparable operators definition.
Definition
stream_insertion_operator.hpp:31
xtd::extensions::stream_insertion_operator::operator<<
friend auto operator<<(std::ostream &os, const type_t &value) -> std::ostream &
Stream insertable operator with specidied value.
Definition
stream_insertion_operator.hpp:40
xtd::extensions
The xtd::extensions namespace contains interface extensions.
Definition
comparison_operators.hpp:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.