jsocketpp 1.0
A cross-platform C++20 socket library.
Loading...
Searching...
No Matches
jsocketpp::detail::is_byte_like< T > Struct Template Reference

Type trait to detect byte-like types. More...

#include <buffer_traits.hpp>

Inheritance diagram for jsocketpp::detail::is_byte_like< T >:
Collaboration diagram for jsocketpp::detail::is_byte_like< T >:

Detailed Description

template<typename T>
struct jsocketpp::detail::is_byte_like< T >

Type trait to detect byte-like types.

Determines if a type qualifies as a "byte-like" type that can represent raw bytes. Valid byte-like types include:

  • char
  • unsigned char
  • std::byte
  • std::uint8_t
Template Parameters
TThe type to check

The documentation for this struct was generated from the following file: