SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::has_expand< t_wt, t_ret(t_args...)> Struct Template Reference

#include <wt_algorithm.hpp>

Public Types

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

Static Public Member Functions

template<typename T>
static constexpr auto check (T *) -> typename std::is_same< decltype(std::declval< T >().expand(std::declval< t_args >()...)), t_ret >::type
 
template<typename>
static constexpr std::false_type check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename t_wt, typename t_ret, typename... t_args>
struct sdsl::has_expand< t_wt, t_ret(t_args...)>

Definition at line 321 of file wt_algorithm.hpp.

Member Typedef Documentation

◆ type

template<typename t_wt, typename t_ret, typename... t_args>
typedef decltype(check<t_wt>(nullptr)) sdsl::has_expand< t_wt, t_ret(t_args...)>::type

Definition at line 334 of file wt_algorithm.hpp.

Member Function Documentation

◆ check() [1/2]

template<typename t_wt, typename t_ret, typename... t_args>
template<typename>
static constexpr std::false_type sdsl::has_expand< t_wt, t_ret(t_args...)>::check ( ...)
inlinestaticconstexpr

Definition at line 330 of file wt_algorithm.hpp.

◆ check() [2/2]

template<typename t_wt, typename t_ret, typename... t_args>
template<typename T>
static constexpr auto sdsl::has_expand< t_wt, t_ret(t_args...)>::check ( T * ) -> typename std::is_same<decltype(std::declval<T>().expand(std::declval<t_args>()...)), t_ret>::type
inlinestaticconstexpr

Definition at line 324 of file wt_algorithm.hpp.

Member Data Documentation

◆ value

template<typename t_wt, typename t_ret, typename... t_args>
bool sdsl::has_expand< t_wt, t_ret(t_args...)>::value = type::value
staticconstexpr

Definition at line 335 of file wt_algorithm.hpp.


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