libstdc++
typelist.h File Reference

Go to the source code of this file.

Namespaces

namespace  __gnu_cxx
 
namespace  __gnu_cxx::typelist
 

Macros

#define _GLIBCXX_TYPELIST_CHAIN1(X0)
 
#define _GLIBCXX_TYPELIST_CHAIN10(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9)
 
#define _GLIBCXX_TYPELIST_CHAIN11(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10)
 
#define _GLIBCXX_TYPELIST_CHAIN12(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11)
 
#define _GLIBCXX_TYPELIST_CHAIN13(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12)
 
#define _GLIBCXX_TYPELIST_CHAIN14(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13)
 
#define _GLIBCXX_TYPELIST_CHAIN15(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14)
 
#define _GLIBCXX_TYPELIST_CHAIN16(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15)
 
#define _GLIBCXX_TYPELIST_CHAIN17(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16)
 
#define _GLIBCXX_TYPELIST_CHAIN18(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17)
 
#define _GLIBCXX_TYPELIST_CHAIN19(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18)
 
#define _GLIBCXX_TYPELIST_CHAIN2(X0, X1)
 
#define _GLIBCXX_TYPELIST_CHAIN20(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19)
 
#define _GLIBCXX_TYPELIST_CHAIN3(X0, X1, X2)
 
#define _GLIBCXX_TYPELIST_CHAIN4(X0, X1, X2, X3)
 
#define _GLIBCXX_TYPELIST_CHAIN5(X0, X1, X2, X3, X4)
 
#define _GLIBCXX_TYPELIST_CHAIN6(X0, X1, X2, X3, X4, X5)
 
#define _GLIBCXX_TYPELIST_CHAIN7(X0, X1, X2, X3, X4, X5, X6)
 
#define _GLIBCXX_TYPELIST_CHAIN8(X0, X1, X2, X3, X4, X5, X6, X7)
 
#define _GLIBCXX_TYPELIST_CHAIN9(X0, X1, X2, X3, X4, X5, X6, X7, X8)
 

Functions

template<typename Fn , typename Typelist >
void __gnu_cxx::typelist::apply (Fn &, Typelist)
 
template<typename Fn , typename Typelist >
void __gnu_cxx::typelist::apply_generator (Fn &fn, Typelist)
 
template<typename Fn , typename TypelistT , typename TypelistV >
void __gnu_cxx::typelist::apply_generator (Fn &fn, TypelistT, TypelistV)
 
template<typename Gn , typename Typelist >
void __gnu_cxx::typelist::apply_generator (Gn &, Typelist)
 
template<typename Gn , typename TypelistT , typename TypelistV >
void __gnu_cxx::typelist::apply_generator (Gn &, TypelistT, TypelistV)
 

Detailed Description

This file is a GNU extension to the Standard C++ Library.

Contains typelist_chain definitions. Typelists are an idea by Andrei Alexandrescu.

Definition in file typelist.h.

Macro Definition Documentation

◆ _GLIBCXX_TYPELIST_CHAIN1

#define _GLIBCXX_TYPELIST_CHAIN1 (   X0)

Definition at line 359 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN10

#define _GLIBCXX_TYPELIST_CHAIN10 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9 
)

Definition at line 368 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN11

#define _GLIBCXX_TYPELIST_CHAIN11 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10 
)

Definition at line 369 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN12

#define _GLIBCXX_TYPELIST_CHAIN12 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11 
)

Definition at line 370 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN13

#define _GLIBCXX_TYPELIST_CHAIN13 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12 
)

Definition at line 371 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN14

#define _GLIBCXX_TYPELIST_CHAIN14 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13 
)

Definition at line 372 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN15

#define _GLIBCXX_TYPELIST_CHAIN15 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14 
)

Definition at line 373 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN16

#define _GLIBCXX_TYPELIST_CHAIN16 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14,
  X15 
)

Definition at line 374 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN17

#define _GLIBCXX_TYPELIST_CHAIN17 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14,
  X15,
  X16 
)

Definition at line 375 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN18

#define _GLIBCXX_TYPELIST_CHAIN18 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14,
  X15,
  X16,
  X17 
)

Definition at line 376 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN19

#define _GLIBCXX_TYPELIST_CHAIN19 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14,
  X15,
  X16,
  X17,
  X18 
)

Definition at line 377 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN2

#define _GLIBCXX_TYPELIST_CHAIN2 (   X0,
  X1 
)

Definition at line 360 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN20

#define _GLIBCXX_TYPELIST_CHAIN20 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8,
  X9,
  X10,
  X11,
  X12,
  X13,
  X14,
  X15,
  X16,
  X17,
  X18,
  X19 
)

Definition at line 378 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN3

#define _GLIBCXX_TYPELIST_CHAIN3 (   X0,
  X1,
  X2 
)

Definition at line 361 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN4

#define _GLIBCXX_TYPELIST_CHAIN4 (   X0,
  X1,
  X2,
  X3 
)

Definition at line 362 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN5

#define _GLIBCXX_TYPELIST_CHAIN5 (   X0,
  X1,
  X2,
  X3,
  X4 
)

Definition at line 363 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN6

#define _GLIBCXX_TYPELIST_CHAIN6 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5 
)

Definition at line 364 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN7

#define _GLIBCXX_TYPELIST_CHAIN7 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6 
)

Definition at line 365 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN8

#define _GLIBCXX_TYPELIST_CHAIN8 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7 
)

Definition at line 366 of file typelist.h.

◆ _GLIBCXX_TYPELIST_CHAIN9

#define _GLIBCXX_TYPELIST_CHAIN9 (   X0,
  X1,
  X2,
  X3,
  X4,
  X5,
  X6,
  X7,
  X8 
)

Definition at line 367 of file typelist.h.