SDSL  3.0.0
Succinct Data Structure Library
sdsl::has_load< X > Struct Template Reference

#include <io.hpp>

Static Public Member Functions

template<typename T >
static constexpr auto check (T *) -> typename std::is_same< decltype(std::declval< T >().load(std::declval< std::istream & >())), void >::type
 
template<typename >
static constexpr std::false_type check (...)
 

Public Attributes

decltype(check< X >(nullptr)) typedef type
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename X>
struct sdsl::has_load< X >

Definition at line 65 of file io.hpp.

Member Function Documentation

◆ check() [1/2]

template<typename X >
template<typename >
static constexpr std::false_type sdsl::has_load< X >::check (   ...)
inlinestaticconstexpr

Definition at line 74 of file io.hpp.

◆ check() [2/2]

template<typename X >
template<typename T >
static constexpr auto sdsl::has_load< X >::check ( T *  ) -> typename std::is_same<decltype(std::declval<T>().load(std::declval<std::istream &>())), void>::type
inlinestaticconstexpr

Definition at line 69 of file io.hpp.

Member Data Documentation

◆ type

template<typename X >
decltype(check<X>(nullptr)) typedef sdsl::has_load< X >::type

Definition at line 78 of file io.hpp.

◆ value

template<typename X >
constexpr bool sdsl::has_load< X >::value = type::value
staticconstexpr

Definition at line 79 of file io.hpp.


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