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

#include <suffix_tree_helper.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 >().id(std::declval< typename T::node_type & >())), typename T::size_type >::type
 
template<typename >
static constexpr std::false_type check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

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

Definition at line 376 of file suffix_tree_helper.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 390 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 386 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 380 of file suffix_tree_helper.hpp.

Member Data Documentation

◆ value

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

Definition at line 391 of file suffix_tree_helper.hpp.


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