to_tupleTypes_test.fcl
Go to the documentation of this file.
1 # std::array check
2 vec0 : [ e1,e2,e3,e4 ]
3 vec_arrays : [[a1,a2,a3],[b1,b2,b3],[c1,c2,c3]]
4 
5 # std::pair check
6 vec1 : [ "e1", "e2" ]
7 pair1 : [ 2, "something else"]
8 pair2 : [ ["Feynman",1965],["Schwinger",1965] ]
9 pair3 : [ this,is,meant,to,fail ]
10 
11 # std::tuple check
12 vec2: [ "e1", "e2", "e3" ]
13 tup1: [ 2, "something else", 14.3 ]
14 tup2: [ #dates from memory...could be wrong
15  [1,"Johannes Brahms",1833,1897],
16  [2,"Ludwig van Beethown",1770,1827],
17  [3,"Johann Sebastion Bach",1675,1750]
18 ]
19 tup3: [
20  ["Composers with 9 symphonies",Beethoven,Dvorak,Mahler], #Mahler's 10th doesn't count
21  ["Composers with fewer than 9 symphonies",Brahms,Tchaikovksy,Martinu],
22  ["Fun Beethoven piano sonatas",Pathetique,Appassionata,Waldstein,30,31,32]
23 ]