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

Detection helper for data() member function. More...

#include <buffer_traits.hpp>

Inheritance diagram for jsocketpp::detail::has_data< typename, typename >:
Collaboration diagram for jsocketpp::detail::has_data< typename, typename >:

Detailed Description

template<typename, typename = void>
struct jsocketpp::detail::has_data< typename, typename >

Detection helper for data() member function.

Detects if a type T has a data() member function that provides access to underlying storage.

Template Parameters
TThe type to check
typenameSFINAE enabler parameter

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