libstdc++: traits.hpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41#ifndef PB_DS_NODE_AND_IT_TRAITS_HPP

42#define PB_DS_NODE_AND_IT_TRAITS_HPP

43

48

49#define PB_DS_DEBUG_VERIFY(_Cond) \

50 _GLIBCXX_DEBUG_VERIFY_AT(_Cond, \

51 _M_message(#_Cond" assertion from %1;:%2;") \

52 ._M_string(__FILE__)._M_integer(__LINE__) \

53 ,__file,__line)

54

56{

57 namespace detail

58 {

59

60 template<typename Key,

61 typename Data,

62 typename Cmp_Fn,

63 template<typename Node_CItr,

64 typename Node_Itr,

65 typename Cmp_Fn_,

66 typename _Alloc>

67 class Node_Update,

68 typename Tag,

69 typename _Alloc>

71

72

73 template<typename Key,

74 typename Data,

75 typename _ATraits,

76 template<typename Node_CItr,

77 typename Node_Itr,

78 typename _ATraits_,

79 typename _Alloc>

80 class Node_Update,

81 typename Tag,

82 typename _Alloc>

84

85 }

86}

87

92

93#undef PB_DS_DEBUG_VERIFY

94

95#endif

GNU extensions for policy-based data structures for public use.

Tree traits class, primary template.

Trie traits class, primary template.