SDSL  3.0.0
Succinct Data Structure Library
sdsl::has_id< t_wt > Struct Template Reference

#include <suffix_tree_helper.hpp>

Static Public Member Functions

template<typename T >
static constexpr auto check (T *) -> typename std::is_same< decltype(std::declval< T >().id(std::declval< typename T::node_type & >())), typename T::size_type >::type
 
template<typename >
static constexpr std::false_type check (...)
 

Public Attributes

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

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename t_wt>
struct sdsl::has_id< t_wt >

Definition at line 371 of file suffix_tree_helper.hpp.

Member Function Documentation

◆ check() [1/2]

template<typename t_wt >
template<typename >
static constexpr std::false_type sdsl::has_id< t_wt >::check (   ...)
inlinestaticconstexpr

Definition at line 381 of file suffix_tree_helper.hpp.

◆ check() [2/2]

template<typename t_wt >
template<typename T >
static constexpr auto sdsl::has_id< t_wt >::check ( T *  ) -> typename std::is_same<decltype(std::declval<T>().id(std::declval<typename T::node_type &>())), typename T::size_type>::type
inlinestaticconstexpr

Definition at line 375 of file suffix_tree_helper.hpp.

Member Data Documentation

◆ type

template<typename t_wt >
decltype(check<t_wt>(nullptr)) typedef sdsl::has_id< t_wt >::type

Definition at line 385 of file suffix_tree_helper.hpp.

◆ value

template<typename t_wt >
constexpr bool sdsl::has_id< t_wt >::value = type::value
staticconstexpr

Definition at line 386 of file suffix_tree_helper.hpp.


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