Flow
1.0.2
Flow project: Full implementation reference.
net_flow
detail
net_flow_util.cpp
Go to the documentation of this file.
1
/* Flow
2
* Copyright 2023 Akamai Technologies, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the
5
* "License"); you may not use this file except in
6
* compliance with the License. You may obtain a copy
7
* of the License at
8
*
9
* https://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in
12
* writing, software distributed under the License is
13
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14
* CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing
16
* permissions and limitations under the License. */
17
18
/// @file
19
#include "
flow/net_flow/detail/net_flow_fwd.hpp
"
20
21
namespace
flow::net_flow
22
{
23
// Implementations.
24
25
std::ostream&
operator<<
(std::ostream& os,
const
Function
<std::ostream& (std::ostream&)>& os_manip)
26
{
27
// Do exactly what the namespace std version of operator<<() does when os_manip is an equivalent function pointer.
28
return
os_manip(os);
29
}
30
31
}
// namespace flow::net_flow
flow::Function
Definition:
common.hpp:507
net_flow_fwd.hpp
flow::net_flow
Flow module containing the API and implementation of the Flow network protocol, a TCP-inspired stream...
Definition:
node.cpp:25
flow::net_flow::operator<<
std::ostream & operator<<(std::ostream &os, const Congestion_control_selector::Strategy_choice &strategy_choice)
Serializes a Peer_socket_options::Congestion_control_strategy_choice enum to a standard ostream – the...
Definition:
cong_ctl.cpp:146
Generated on Sat Mar 30 2024 01:24:53 for Flow by
1.9.4