GDB (xrefs)
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
intrusive_list_test< ListType > Struct Template Reference

Public Types

using item_type = typename ListType::value_type
 

Static Public Member Functions

static void verify_items (const ListType &list, gdb::array_view< const typename ListType::value_type * > expected)
 
static void test_move_constructor ()
 
static void test_move_assignment ()
 
static void test_swap ()
 
static void test_front_back ()
 
static void test_push_front ()
 
static void test_push_back ()
 
static void test_insert ()
 
static void test_splice ()
 
static void test_pop_front ()
 
static void test_pop_back ()
 
static void test_erase ()
 
static void test_clear ()
 
static void test_clear_and_dispose ()
 
static void test_empty ()
 
static void test_begin_end ()
 

Detailed Description

template<typename ListType>
struct intrusive_list_test< ListType >

Definition at line 68 of file intrusive_list-selftests.c.

Member Typedef Documentation

◆ item_type

template<typename ListType >
using intrusive_list_test< ListType >::item_type = typename ListType::value_type

Definition at line 70 of file intrusive_list-selftests.c.

Member Function Documentation

◆ test_begin_end()

template<typename ListType >
static void intrusive_list_test< ListType >::test_begin_end ( )
inlinestatic

Definition at line 726 of file intrusive_list-selftests.c.

Referenced by test_intrusive_list_1().

◆ test_clear()

template<typename ListType >
static void intrusive_list_test< ListType >::test_clear ( )
inlinestatic

◆ test_clear_and_dispose()

template<typename ListType >
static void intrusive_list_test< ListType >::test_clear_and_dispose ( )
inlinestatic

◆ test_empty()

template<typename ListType >
static void intrusive_list_test< ListType >::test_empty ( )
inlinestatic

Definition at line 713 of file intrusive_list-selftests.c.

Referenced by test_intrusive_list_1().

◆ test_erase()

template<typename ListType >
static void intrusive_list_test< ListType >::test_erase ( )
inlinestatic

◆ test_front_back()

template<typename ListType >
static void intrusive_list_test< ListType >::test_front_back ( )
inlinestatic

Definition at line 375 of file intrusive_list-selftests.c.

Referenced by test_intrusive_list_1().

◆ test_insert()

template<typename ListType >
static void intrusive_list_test< ListType >::test_insert ( )
inlinestatic

◆ test_move_assignment()

template<typename ListType >
static void intrusive_list_test< ListType >::test_move_assignment ( )
inlinestatic

◆ test_move_constructor()

template<typename ListType >
static void intrusive_list_test< ListType >::test_move_constructor ( )
inlinestatic

◆ test_pop_back()

template<typename ListType >
static void intrusive_list_test< ListType >::test_pop_back ( )
inlinestatic

◆ test_pop_front()

template<typename ListType >
static void intrusive_list_test< ListType >::test_pop_front ( )
inlinestatic

◆ test_push_back()

template<typename ListType >
static void intrusive_list_test< ListType >::test_push_back ( )
inlinestatic

◆ test_push_front()

template<typename ListType >
static void intrusive_list_test< ListType >::test_push_front ( )
inlinestatic

◆ test_splice()

template<typename ListType >
static void intrusive_list_test< ListType >::test_splice ( )
inlinestatic

◆ test_swap()

template<typename ListType >
static void intrusive_list_test< ListType >::test_swap ( )
inlinestatic

◆ verify_items()

template<typename ListType >
static void intrusive_list_test< ListType >::verify_items ( const ListType & list,
gdb::array_view< const typename ListType::value_type * > expected )
inlinestatic

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