|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Network address formatting views. More...
#include "../microfmt.hpp"#include <cstddef>#include <cstdint>#include <string_view>#include <type_traits>
Go to the source code of this file.
Namespaces | |
| namespace | microfmt |
| namespace | microfmt::detail |
Functions | |
| constexpr mac_view | microfmt::mac (span< const uint8_t > bytes, char separator=':', bool uppercase=false) noexcept |
| constexpr mac_view | microfmt::mac (const uint8_t(&arr)[6], char separator=':', bool uppercase=false) noexcept |
| constexpr mac_view | microfmt::mac (const uint8_t(&arr)[8], char separator=':', bool uppercase=false) noexcept |
| template<typename ContainerT , std::enable_if_t< detail::is_mac_container< ContainerT >::value, int > = 0> | |
| constexpr mac_view | microfmt::mac (const ContainerT &c, char separator=':', bool uppercase=false) noexcept |
| template<typename ContainerT , std::enable_if_t<!std::is_lvalue_reference_v< ContainerT > &&detail::is_mac_container< std::remove_reference_t< ContainerT > >::value, int > = 0> | |
| constexpr mac_view | microfmt::mac (ContainerT &&, char=':', bool=false) noexcept=delete |
Network address formatting views.