WPILibC++
2024.3.2
hostname.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#ifndef WPINET_HOSTNAME_H_
6
#define WPINET_HOSTNAME_H_
7
8
#include <string>
9
#include <string_view>
10
11
namespace
wpi
{
12
template
<
typename
T>
13
class
SmallVectorImpl;
14
15
std::string
GetHostname
();
16
std::string_view
GetHostname
(
SmallVectorImpl<char>
&
name
);
17
}
// namespace wpi
18
19
#endif
// WPINET_HOSTNAME_H_
wpi::SmallVectorImpl< char >
string_view
basic_string_view< char > string_view
Definition:
core.h:501
units::name
constexpr const char * name(const T &)
wpi
Definition:
ntcore_cpp.h:26
wpi::GetHostname
std::string GetHostname()
wpinet
hostname.h
Generated on Wed Mar 13 2024 05:20:41 for WPILibC++ by
1.9.4