Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 21st, 2014  |  syntax: C++  |  size: 425.53 KB  |  views: 2,031  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # 1 "./test.cpp"
  2. # 1 "<command-line>"
  3. # 1 "./test.cpp"
  4. # 1 "/usr/include/c++/4.7/iostream" 1 3
  5. # 37 "/usr/include/c++/4.7/iostream" 3
  6.        
  7. # 38 "/usr/include/c++/4.7/iostream" 3
  8.  
  9. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h" 1 3
  10. # 171 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h" 3
  11. namespace std
  12. {
  13.   typedef long unsigned int size_t;
  14.   typedef long int ptrdiff_t;
  15.  
  16.  
  17.  
  18.  
  19. }
  20. # 414 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h" 3
  21. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h" 1 3
  22. # 40 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h" 3
  23. # 1 "/usr/include/features.h" 1 3 4
  24. # 323 "/usr/include/features.h" 3 4
  25. # 1 "/usr/include/x86_64-linux-gnu/bits/predefs.h" 1 3 4
  26. # 324 "/usr/include/features.h" 2 3 4
  27. # 356 "/usr/include/features.h" 3 4
  28. # 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
  29. # 359 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
  30. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  31. # 360 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
  32. # 357 "/usr/include/features.h" 2 3 4
  33. # 388 "/usr/include/features.h" 3 4
  34. # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
  35.  
  36.  
  37.  
  38. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  39. # 5 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
  40.  
  41.  
  42.  
  43.  
  44. # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
  45. # 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
  46. # 389 "/usr/include/features.h" 2 3 4
  47. # 41 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h" 2 3
  48. # 415 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h" 2 3
  49.  
  50.  
  51. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/cpu_defines.h" 1 3
  52. # 418 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h" 2 3
  53. # 40 "/usr/include/c++/4.7/iostream" 2 3
  54. # 1 "/usr/include/c++/4.7/ostream" 1 3
  55. # 38 "/usr/include/c++/4.7/ostream" 3
  56.        
  57. # 39 "/usr/include/c++/4.7/ostream" 3
  58.  
  59. # 1 "/usr/include/c++/4.7/ios" 1 3
  60. # 37 "/usr/include/c++/4.7/ios" 3
  61.        
  62. # 38 "/usr/include/c++/4.7/ios" 3
  63.  
  64. # 1 "/usr/include/c++/4.7/iosfwd" 1 3
  65. # 38 "/usr/include/c++/4.7/iosfwd" 3
  66.        
  67. # 39 "/usr/include/c++/4.7/iosfwd" 3
  68.  
  69.  
  70. # 1 "/usr/include/c++/4.7/bits/stringfwd.h" 1 3
  71. # 39 "/usr/include/c++/4.7/bits/stringfwd.h" 3
  72.        
  73. # 40 "/usr/include/c++/4.7/bits/stringfwd.h" 3
  74.  
  75.  
  76.  
  77. namespace std __attribute__ ((__visibility__ ("default")))
  78. {
  79.  
  80.  
  81.   template<typename _Alloc>
  82.     class allocator;
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.   template<class _CharT>
  91.     struct char_traits;
  92.  
  93.   template<typename _CharT, typename _Traits = char_traits<_CharT>,
  94.            typename _Alloc = allocator<_CharT> >
  95.     class basic_string;
  96.  
  97.   template<> struct char_traits<char>;
  98.  
  99.   typedef basic_string<char> string;
  100.  
  101.  
  102.   template<> struct char_traits<wchar_t>;
  103.  
  104.   typedef basic_string<wchar_t> wstring;
  105. # 85 "/usr/include/c++/4.7/bits/stringfwd.h" 3
  106.  
  107. }
  108. # 42 "/usr/include/c++/4.7/iosfwd" 2 3
  109. # 1 "/usr/include/c++/4.7/bits/postypes.h" 1 3
  110. # 40 "/usr/include/c++/4.7/bits/postypes.h" 3
  111.        
  112. # 41 "/usr/include/c++/4.7/bits/postypes.h" 3
  113.  
  114. # 1 "/usr/include/c++/4.7/cwchar" 1 3
  115. # 41 "/usr/include/c++/4.7/cwchar" 3
  116.        
  117. # 42 "/usr/include/c++/4.7/cwchar" 3
  118.  
  119.  
  120.  
  121.  
  122. # 1 "/usr/include/wchar.h" 1 3 4
  123. # 37 "/usr/include/wchar.h" 3 4
  124. # 1 "/usr/include/stdio.h" 1 3 4
  125. # 45 "/usr/include/stdio.h" 3 4
  126. struct _IO_FILE;
  127.  
  128.  
  129.  
  130. typedef struct _IO_FILE FILE;
  131.  
  132.  
  133.  
  134.  
  135.  
  136. # 65 "/usr/include/stdio.h" 3 4
  137. typedef struct _IO_FILE __FILE;
  138. # 38 "/usr/include/wchar.h" 2 3 4
  139.  
  140.  
  141. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h" 1 3 4
  142. # 40 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h" 3 4
  143. typedef __builtin_va_list __gnuc_va_list;
  144. # 41 "/usr/include/wchar.h" 2 3 4
  145.  
  146. # 1 "/usr/include/x86_64-linux-gnu/bits/wchar.h" 1 3 4
  147. # 43 "/usr/include/wchar.h" 2 3 4
  148. # 52 "/usr/include/wchar.h" 3 4
  149. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 1 3 4
  150. # 213 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 3 4
  151. typedef long unsigned int size_t;
  152. # 354 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 3 4
  153. typedef unsigned int wint_t;
  154. # 53 "/usr/include/wchar.h" 2 3 4
  155. # 83 "/usr/include/wchar.h" 3 4
  156. typedef struct
  157. {
  158.   int __count;
  159.   union
  160.   {
  161.  
  162.     unsigned int __wch;
  163.  
  164.  
  165.  
  166.     char __wchb[4];
  167.   } __value;
  168. } __mbstate_t;
  169. # 104 "/usr/include/wchar.h" 3 4
  170.  
  171.  
  172. typedef __mbstate_t mbstate_t;
  173.  
  174.  
  175.  
  176. # 129 "/usr/include/wchar.h" 3 4
  177. extern "C" {
  178.  
  179.  
  180.  
  181.  
  182. struct tm;
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. extern wchar_t *wcscpy (wchar_t *__restrict __dest,
  193.    __const wchar_t *__restrict __src) throw ();
  194.  
  195. extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
  196.     __const wchar_t *__restrict __src, size_t __n)
  197.      throw ();
  198.  
  199.  
  200. extern wchar_t *wcscat (wchar_t *__restrict __dest,
  201.    __const wchar_t *__restrict __src) throw ();
  202.  
  203. extern wchar_t *wcsncat (wchar_t *__restrict __dest,
  204.     __const wchar_t *__restrict __src, size_t __n)
  205.      throw ();
  206.  
  207.  
  208. extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2)
  209.      throw () __attribute__ ((__pure__));
  210.  
  211. extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
  212.      throw () __attribute__ ((__pure__));
  213.  
  214.  
  215.  
  216.  
  217. extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) throw ();
  218.  
  219.  
  220. extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
  221.    size_t __n) throw ();
  222.  
  223.  
  224.  
  225. # 1 "/usr/include/xlocale.h" 1 3 4
  226. # 28 "/usr/include/xlocale.h" 3 4
  227. typedef struct __locale_struct
  228. {
  229.  
  230.   struct __locale_data *__locales[13];
  231.  
  232.  
  233.   const unsigned short int *__ctype_b;
  234.   const int *__ctype_tolower;
  235.   const int *__ctype_toupper;
  236.  
  237.  
  238.   const char *__names[13];
  239. } *__locale_t;
  240.  
  241.  
  242. typedef __locale_t locale_t;
  243. # 178 "/usr/include/wchar.h" 2 3 4
  244.  
  245. extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
  246.     __locale_t __loc) throw ();
  247.  
  248. extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
  249.      size_t __n, __locale_t __loc) throw ();
  250.  
  251.  
  252.  
  253.  
  254.  
  255. extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) throw ();
  256.  
  257.  
  258.  
  259. extern size_t wcsxfrm (wchar_t *__restrict __s1,
  260.          __const wchar_t *__restrict __s2, size_t __n) throw ();
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
  270.         __locale_t __loc) throw ();
  271.  
  272.  
  273.  
  274.  
  275. extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
  276.     size_t __n, __locale_t __loc) throw ();
  277.  
  278.  
  279. extern wchar_t *wcsdup (__const wchar_t *__s) throw () __attribute__ ((__malloc__));
  280.  
  281.  
  282.  
  283.  
  284.  
  285. extern "C++" wchar_t *wcschr (wchar_t *__wcs, wchar_t __wc)
  286.      throw () __asm ("wcschr") __attribute__ ((__pure__));
  287. extern "C++" __const wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc)
  288.      throw () __asm ("wcschr") __attribute__ ((__pure__));
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295. extern "C++" wchar_t *wcsrchr (wchar_t *__wcs, wchar_t __wc)
  296.      throw () __asm ("wcsrchr") __attribute__ ((__pure__));
  297. extern "C++" __const wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc)
  298.      throw () __asm ("wcsrchr") __attribute__ ((__pure__));
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308. extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc)
  309.      throw () __attribute__ ((__pure__));
  310.  
  311.  
  312.  
  313.  
  314.  
  315. extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject)
  316.      throw () __attribute__ ((__pure__));
  317.  
  318.  
  319. extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept)
  320.      throw () __attribute__ ((__pure__));
  321.  
  322.  
  323. extern "C++" wchar_t *wcspbrk (wchar_t *__wcs, __const wchar_t *__accept)
  324.      throw () __asm ("wcspbrk") __attribute__ ((__pure__));
  325. extern "C++" __const wchar_t *wcspbrk (__const wchar_t *__wcs,
  326.            __const wchar_t *__accept)
  327.      throw () __asm ("wcspbrk") __attribute__ ((__pure__));
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. extern "C++" wchar_t *wcsstr (wchar_t *__haystack, __const wchar_t *__needle)
  335.      throw () __asm ("wcsstr") __attribute__ ((__pure__));
  336. extern "C++" __const wchar_t *wcsstr (__const wchar_t *__haystack,
  337.           __const wchar_t *__needle)
  338.      throw () __asm ("wcsstr") __attribute__ ((__pure__));
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345. extern wchar_t *wcstok (wchar_t *__restrict __s,
  346.    __const wchar_t *__restrict __delim,
  347.    wchar_t **__restrict __ptr) throw ();
  348.  
  349.  
  350. extern size_t wcslen (__const wchar_t *__s) throw () __attribute__ ((__pure__));
  351.  
  352.  
  353.  
  354.  
  355.  
  356. extern "C++" wchar_t *wcswcs (wchar_t *__haystack, __const wchar_t *__needle)
  357.      throw () __asm ("wcswcs") __attribute__ ((__pure__));
  358. extern "C++" __const wchar_t *wcswcs (__const wchar_t *__haystack,
  359.           __const wchar_t *__needle)
  360.      throw () __asm ("wcswcs") __attribute__ ((__pure__));
  361. # 303 "/usr/include/wchar.h" 3 4
  362. extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen)
  363.      throw () __attribute__ ((__pure__));
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370. extern "C++" wchar_t *wmemchr (wchar_t *__s, wchar_t __c, size_t __n)
  371.      throw () __asm ("wmemchr") __attribute__ ((__pure__));
  372. extern "C++" __const wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c,
  373.            size_t __n)
  374.      throw () __asm ("wmemchr") __attribute__ ((__pure__));
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381. extern int wmemcmp (__const wchar_t *__restrict __s1,
  382.       __const wchar_t *__restrict __s2, size_t __n)
  383.      throw () __attribute__ ((__pure__));
  384.  
  385.  
  386. extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
  387.     __const wchar_t *__restrict __s2, size_t __n) throw ();
  388.  
  389.  
  390.  
  391. extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n)
  392.      throw ();
  393.  
  394.  
  395. extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw ();
  396.  
  397.  
  398.  
  399.  
  400.  
  401. extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
  402.      __const wchar_t *__restrict __s2, size_t __n)
  403.      throw ();
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410. extern wint_t btowc (int __c) throw ();
  411.  
  412.  
  413.  
  414. extern int wctob (wint_t __c) throw ();
  415.  
  416.  
  417.  
  418. extern int mbsinit (__const mbstate_t *__ps) throw () __attribute__ ((__pure__));
  419.  
  420.  
  421.  
  422. extern size_t mbrtowc (wchar_t *__restrict __pwc,
  423.          __const char *__restrict __s, size_t __n,
  424.          mbstate_t *__p) throw ();
  425.  
  426.  
  427. extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
  428.          mbstate_t *__restrict __ps) throw ();
  429.  
  430.  
  431. extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
  432.    mbstate_t *__restrict __ps) throw ();
  433. extern size_t mbrlen (__const char *__restrict __s, size_t __n,
  434.         mbstate_t *__restrict __ps) throw ();
  435.  
  436. # 403 "/usr/include/wchar.h" 3 4
  437.  
  438.  
  439.  
  440. extern size_t mbsrtowcs (wchar_t *__restrict __dst,
  441.     __const char **__restrict __src, size_t __len,
  442.     mbstate_t *__restrict __ps) throw ();
  443.  
  444.  
  445.  
  446. extern size_t wcsrtombs (char *__restrict __dst,
  447.     __const wchar_t **__restrict __src, size_t __len,
  448.     mbstate_t *__restrict __ps) throw ();
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455. extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
  456.      __const char **__restrict __src, size_t __nmc,
  457.      size_t __len, mbstate_t *__restrict __ps) throw ();
  458.  
  459.  
  460.  
  461. extern size_t wcsnrtombs (char *__restrict __dst,
  462.      __const wchar_t **__restrict __src,
  463.      size_t __nwc, size_t __len,
  464.      mbstate_t *__restrict __ps) throw ();
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471. extern int wcwidth (wchar_t __c) throw ();
  472.  
  473.  
  474.  
  475. extern int wcswidth (__const wchar_t *__s, size_t __n) throw ();
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482. extern double wcstod (__const wchar_t *__restrict __nptr,
  483.         wchar_t **__restrict __endptr) throw ();
  484.  
  485.  
  486.  
  487.  
  488.  
  489. extern float wcstof (__const wchar_t *__restrict __nptr,
  490.        wchar_t **__restrict __endptr) throw ();
  491. extern long double wcstold (__const wchar_t *__restrict __nptr,
  492.        wchar_t **__restrict __endptr) throw ();
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500. extern long int wcstol (__const wchar_t *__restrict __nptr,
  501.    wchar_t **__restrict __endptr, int __base) throw ();
  502.  
  503.  
  504.  
  505. extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
  506.       wchar_t **__restrict __endptr, int __base)
  507.      throw ();
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514. __extension__
  515. extern long long int wcstoll (__const wchar_t *__restrict __nptr,
  516.          wchar_t **__restrict __endptr, int __base)
  517.      throw ();
  518.  
  519.  
  520.  
  521. __extension__
  522. extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr,
  523.      wchar_t **__restrict __endptr,
  524.      int __base) throw ();
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531. __extension__
  532. extern long long int wcstoq (__const wchar_t *__restrict __nptr,
  533.         wchar_t **__restrict __endptr, int __base)
  534.      throw ();
  535.  
  536.  
  537.  
  538. __extension__
  539. extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr,
  540.            wchar_t **__restrict __endptr,
  541.            int __base) throw ();
  542. # 528 "/usr/include/wchar.h" 3 4
  543. extern long int wcstol_l (__const wchar_t *__restrict __nptr,
  544.      wchar_t **__restrict __endptr, int __base,
  545.      __locale_t __loc) throw ();
  546.  
  547. extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr,
  548.         wchar_t **__restrict __endptr,
  549.         int __base, __locale_t __loc) throw ();
  550.  
  551. __extension__
  552. extern long long int wcstoll_l (__const wchar_t *__restrict __nptr,
  553.     wchar_t **__restrict __endptr,
  554.     int __base, __locale_t __loc) throw ();
  555.  
  556. __extension__
  557. extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr,
  558.        wchar_t **__restrict __endptr,
  559.        int __base, __locale_t __loc)
  560.      throw ();
  561.  
  562. extern double wcstod_l (__const wchar_t *__restrict __nptr,
  563.    wchar_t **__restrict __endptr, __locale_t __loc)
  564.      throw ();
  565.  
  566. extern float wcstof_l (__const wchar_t *__restrict __nptr,
  567.          wchar_t **__restrict __endptr, __locale_t __loc)
  568.      throw ();
  569.  
  570. extern long double wcstold_l (__const wchar_t *__restrict __nptr,
  571.          wchar_t **__restrict __endptr,
  572.          __locale_t __loc) throw ();
  573.  
  574.  
  575.  
  576.  
  577. extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
  578.    __const wchar_t *__restrict __src) throw ();
  579.  
  580.  
  581.  
  582. extern wchar_t *wcpncpy (wchar_t *__restrict __dest,
  583.     __const wchar_t *__restrict __src, size_t __n)
  584.      throw ();
  585. # 578 "/usr/include/wchar.h" 3 4
  586. extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw ();
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593. extern int fwide (__FILE *__fp, int __mode) throw ();
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600. extern int fwprintf (__FILE *__restrict __stream,
  601.        __const wchar_t *__restrict __format, ...)
  602.                                                            ;
  603.  
  604.  
  605.  
  606.  
  607. extern int wprintf (__const wchar_t *__restrict __format, ...)
  608.                                                            ;
  609.  
  610. extern int swprintf (wchar_t *__restrict __s, size_t __n,
  611.        __const wchar_t *__restrict __format, ...)
  612.      throw () ;
  613.  
  614.  
  615.  
  616.  
  617.  
  618. extern int vfwprintf (__FILE *__restrict __s,
  619.         __const wchar_t *__restrict __format,
  620.         __gnuc_va_list __arg)
  621.                                                            ;
  622.  
  623.  
  624.  
  625.  
  626. extern int vwprintf (__const wchar_t *__restrict __format,
  627.        __gnuc_va_list __arg)
  628.                                                            ;
  629.  
  630.  
  631. extern int vswprintf (wchar_t *__restrict __s, size_t __n,
  632.         __const wchar_t *__restrict __format,
  633.         __gnuc_va_list __arg)
  634.      throw () ;
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641. extern int fwscanf (__FILE *__restrict __stream,
  642.       __const wchar_t *__restrict __format, ...)
  643.                                                           ;
  644.  
  645.  
  646.  
  647.  
  648. extern int wscanf (__const wchar_t *__restrict __format, ...)
  649.                                                           ;
  650.  
  651. extern int swscanf (__const wchar_t *__restrict __s,
  652.       __const wchar_t *__restrict __format, ...)
  653.      throw () ;
  654. # 678 "/usr/include/wchar.h" 3 4
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. extern int vfwscanf (__FILE *__restrict __s,
  665.        __const wchar_t *__restrict __format,
  666.        __gnuc_va_list __arg)
  667.                                                           ;
  668.  
  669.  
  670.  
  671.  
  672. extern int vwscanf (__const wchar_t *__restrict __format,
  673.       __gnuc_va_list __arg)
  674.                                                           ;
  675.  
  676. extern int vswscanf (__const wchar_t *__restrict __s,
  677.        __const wchar_t *__restrict __format,
  678.        __gnuc_va_list __arg)
  679.      throw () ;
  680. # 734 "/usr/include/wchar.h" 3 4
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690. extern wint_t fgetwc (__FILE *__stream);
  691. extern wint_t getwc (__FILE *__stream);
  692.  
  693.  
  694.  
  695.  
  696.  
  697. extern wint_t getwchar (void);
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704. extern wint_t fputwc (wchar_t __wc, __FILE *__stream);
  705. extern wint_t putwc (wchar_t __wc, __FILE *__stream);
  706.  
  707.  
  708.  
  709.  
  710.  
  711. extern wint_t putwchar (wchar_t __wc);
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719. extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
  720.    __FILE *__restrict __stream);
  721.  
  722.  
  723.  
  724.  
  725.  
  726. extern int fputws (__const wchar_t *__restrict __ws,
  727.      __FILE *__restrict __stream);
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734. extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
  735.  
  736. # 799 "/usr/include/wchar.h" 3 4
  737. extern wint_t getwc_unlocked (__FILE *__stream);
  738. extern wint_t getwchar_unlocked (void);
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746. extern wint_t fgetwc_unlocked (__FILE *__stream);
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754. extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
  755. # 825 "/usr/include/wchar.h" 3 4
  756. extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream);
  757. extern wint_t putwchar_unlocked (wchar_t __wc);
  758. # 835 "/usr/include/wchar.h" 3 4
  759. extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
  760.      __FILE *__restrict __stream);
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768. extern int fputws_unlocked (__const wchar_t *__restrict __ws,
  769.        __FILE *__restrict __stream);
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777. extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
  778.    __const wchar_t *__restrict __format,
  779.    __const struct tm *__restrict __tp) throw ();
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787. extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
  788.      __const wchar_t *__restrict __format,
  789.      __const struct tm *__restrict __tp,
  790.      __locale_t __loc) throw ();
  791. # 889 "/usr/include/wchar.h" 3 4
  792. }
  793. # 47 "/usr/include/c++/4.7/cwchar" 2 3
  794. # 64 "/usr/include/c++/4.7/cwchar" 3
  795. namespace std
  796. {
  797.   using ::mbstate_t;
  798. }
  799. # 137 "/usr/include/c++/4.7/cwchar" 3
  800. namespace std __attribute__ ((__visibility__ ("default")))
  801. {
  802.  
  803.  
  804.   using ::wint_t;
  805.  
  806.   using ::btowc;
  807.   using ::fgetwc;
  808.   using ::fgetws;
  809.   using ::fputwc;
  810.   using ::fputws;
  811.   using ::fwide;
  812.   using ::fwprintf;
  813.   using ::fwscanf;
  814.   using ::getwc;
  815.   using ::getwchar;
  816.   using ::mbrlen;
  817.   using ::mbrtowc;
  818.   using ::mbsinit;
  819.   using ::mbsrtowcs;
  820.   using ::putwc;
  821.   using ::putwchar;
  822.  
  823.   using ::swprintf;
  824.  
  825.   using ::swscanf;
  826.   using ::ungetwc;
  827.   using ::vfwprintf;
  828.  
  829.   using ::vfwscanf;
  830.  
  831.  
  832.   using ::vswprintf;
  833.  
  834.  
  835.   using ::vswscanf;
  836.  
  837.   using ::vwprintf;
  838.  
  839.   using ::vwscanf;
  840.  
  841.   using ::wcrtomb;
  842.   using ::wcscat;
  843.   using ::wcscmp;
  844.   using ::wcscoll;
  845.   using ::wcscpy;
  846.   using ::wcscspn;
  847.   using ::wcsftime;
  848.   using ::wcslen;
  849.   using ::wcsncat;
  850.   using ::wcsncmp;
  851.   using ::wcsncpy;
  852.   using ::wcsrtombs;
  853.   using ::wcsspn;
  854.   using ::wcstod;
  855.  
  856.   using ::wcstof;
  857.  
  858.   using ::wcstok;
  859.   using ::wcstol;
  860.   using ::wcstoul;
  861.   using ::wcsxfrm;
  862.   using ::wctob;
  863.   using ::wmemcmp;
  864.   using ::wmemcpy;
  865.   using ::wmemmove;
  866.   using ::wmemset;
  867.   using ::wprintf;
  868.   using ::wscanf;
  869.   using ::wcschr;
  870.   using ::wcspbrk;
  871.   using ::wcsrchr;
  872.   using ::wcsstr;
  873.   using ::wmemchr;
  874. # 234 "/usr/include/c++/4.7/cwchar" 3
  875.  
  876. }
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884. namespace __gnu_cxx
  885. {
  886.  
  887.  
  888.  
  889.  
  890.  
  891.   using ::wcstold;
  892. # 259 "/usr/include/c++/4.7/cwchar" 3
  893.   using ::wcstoll;
  894.   using ::wcstoull;
  895.  
  896. }
  897.  
  898. namespace std
  899. {
  900.   using ::__gnu_cxx::wcstold;
  901.   using ::__gnu_cxx::wcstoll;
  902.   using ::__gnu_cxx::wcstoull;
  903. }
  904. # 43 "/usr/include/c++/4.7/bits/postypes.h" 2 3
  905. # 70 "/usr/include/c++/4.7/bits/postypes.h" 3
  906. namespace std __attribute__ ((__visibility__ ("default")))
  907. {
  908.  
  909. # 90 "/usr/include/c++/4.7/bits/postypes.h" 3
  910.   typedef long streamoff;
  911. # 100 "/usr/include/c++/4.7/bits/postypes.h" 3
  912.   typedef ptrdiff_t streamsize;
  913. # 113 "/usr/include/c++/4.7/bits/postypes.h" 3
  914.   template<typename _StateT>
  915.     class fpos
  916.     {
  917.     private:
  918.       streamoff _M_off;
  919.       _StateT _M_state;
  920.  
  921.     public:
  922.  
  923.  
  924.  
  925.  
  926.       fpos()
  927.       : _M_off(0), _M_state() { }
  928. # 135 "/usr/include/c++/4.7/bits/postypes.h" 3
  929.       fpos(streamoff __off)
  930.       : _M_off(__off), _M_state() { }
  931.  
  932.  
  933.       operator streamoff() const { return _M_off; }
  934.  
  935.  
  936.       void
  937.       state(_StateT __st)
  938.       { _M_state = __st; }
  939.  
  940.  
  941.       _StateT
  942.       state() const
  943.       { return _M_state; }
  944.  
  945.  
  946.  
  947.  
  948.  
  949.       fpos&
  950.       operator+=(streamoff __off)
  951.       {
  952.  _M_off += __off;
  953.  return *this;
  954.       }
  955.  
  956.  
  957.  
  958.  
  959.  
  960.       fpos&
  961.       operator-=(streamoff __off)
  962.       {
  963.  _M_off -= __off;
  964.  return *this;
  965.       }
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.       fpos
  974.       operator+(streamoff __off) const
  975.       {
  976.  fpos __pos(*this);
  977.  __pos += __off;
  978.  return __pos;
  979.       }
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.       fpos
  988.       operator-(streamoff __off) const
  989.       {
  990.  fpos __pos(*this);
  991.  __pos -= __off;
  992.  return __pos;
  993.       }
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.       streamoff
  1001.       operator-(const fpos& __other) const
  1002.       { return _M_off - __other._M_off; }
  1003.     };
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.   template<typename _StateT>
  1011.     inline bool
  1012.     operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  1013.     { return streamoff(__lhs) == streamoff(__rhs); }
  1014.  
  1015.   template<typename _StateT>
  1016.     inline bool
  1017.     operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  1018.     { return streamoff(__lhs) != streamoff(__rhs); }
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.   typedef fpos<mbstate_t> streampos;
  1025.  
  1026.   typedef fpos<mbstate_t> wstreampos;
  1027. # 241 "/usr/include/c++/4.7/bits/postypes.h" 3
  1028.  
  1029. }
  1030. # 43 "/usr/include/c++/4.7/iosfwd" 2 3
  1031.  
  1032. namespace std __attribute__ ((__visibility__ ("default")))
  1033. {
  1034.  
  1035. # 76 "/usr/include/c++/4.7/iosfwd" 3
  1036.   class ios_base;
  1037.  
  1038.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1039.     class basic_ios;
  1040.  
  1041.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1042.     class basic_streambuf;
  1043.  
  1044.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1045.     class basic_istream;
  1046.  
  1047.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1048.     class basic_ostream;
  1049.  
  1050.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1051.     class basic_iostream;
  1052.  
  1053.   template<typename _CharT, typename _Traits = char_traits<_CharT>,
  1054.      typename _Alloc = allocator<_CharT> >
  1055.     class basic_stringbuf;
  1056.  
  1057.   template<typename _CharT, typename _Traits = char_traits<_CharT>,
  1058.     typename _Alloc = allocator<_CharT> >
  1059.     class basic_istringstream;
  1060.  
  1061.   template<typename _CharT, typename _Traits = char_traits<_CharT>,
  1062.     typename _Alloc = allocator<_CharT> >
  1063.     class basic_ostringstream;
  1064.  
  1065.   template<typename _CharT, typename _Traits = char_traits<_CharT>,
  1066.     typename _Alloc = allocator<_CharT> >
  1067.     class basic_stringstream;
  1068.  
  1069.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1070.     class basic_filebuf;
  1071.  
  1072.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1073.     class basic_ifstream;
  1074.  
  1075.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1076.     class basic_ofstream;
  1077.  
  1078.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1079.     class basic_fstream;
  1080.  
  1081.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1082.     class istreambuf_iterator;
  1083.  
  1084.   template<typename _CharT, typename _Traits = char_traits<_CharT> >
  1085.     class ostreambuf_iterator;
  1086.  
  1087.  
  1088.  
  1089.   typedef basic_ios<char> ios;
  1090.  
  1091.  
  1092.   typedef basic_streambuf<char> streambuf;
  1093.  
  1094.  
  1095.   typedef basic_istream<char> istream;
  1096.  
  1097.  
  1098.   typedef basic_ostream<char> ostream;
  1099.  
  1100.  
  1101.   typedef basic_iostream<char> iostream;
  1102.  
  1103.  
  1104.   typedef basic_stringbuf<char> stringbuf;
  1105.  
  1106.  
  1107.   typedef basic_istringstream<char> istringstream;
  1108.  
  1109.  
  1110.   typedef basic_ostringstream<char> ostringstream;
  1111.  
  1112.  
  1113.   typedef basic_stringstream<char> stringstream;
  1114.  
  1115.  
  1116.   typedef basic_filebuf<char> filebuf;
  1117.  
  1118.  
  1119.   typedef basic_ifstream<char> ifstream;
  1120.  
  1121.  
  1122.   typedef basic_ofstream<char> ofstream;
  1123.  
  1124.  
  1125.   typedef basic_fstream<char> fstream;
  1126.  
  1127.  
  1128.  
  1129.   typedef basic_ios<wchar_t> wios;
  1130.  
  1131.  
  1132.   typedef basic_streambuf<wchar_t> wstreambuf;
  1133.  
  1134.  
  1135.   typedef basic_istream<wchar_t> wistream;
  1136.  
  1137.  
  1138.   typedef basic_ostream<wchar_t> wostream;
  1139.  
  1140.  
  1141.   typedef basic_iostream<wchar_t> wiostream;
  1142.  
  1143.  
  1144.   typedef basic_stringbuf<wchar_t> wstringbuf;
  1145.  
  1146.  
  1147.   typedef basic_istringstream<wchar_t> wistringstream;
  1148.  
  1149.  
  1150.   typedef basic_ostringstream<wchar_t> wostringstream;
  1151.  
  1152.  
  1153.   typedef basic_stringstream<wchar_t> wstringstream;
  1154.  
  1155.  
  1156.   typedef basic_filebuf<wchar_t> wfilebuf;
  1157.  
  1158.  
  1159.   typedef basic_ifstream<wchar_t> wifstream;
  1160.  
  1161.  
  1162.   typedef basic_ofstream<wchar_t> wofstream;
  1163.  
  1164.  
  1165.   typedef basic_fstream<wchar_t> wfstream;
  1166.  
  1167.  
  1168.  
  1169.  
  1170. }
  1171. # 40 "/usr/include/c++/4.7/ios" 2 3
  1172. # 1 "/usr/include/c++/4.7/exception" 1 3
  1173. # 35 "/usr/include/c++/4.7/exception" 3
  1174.        
  1175. # 36 "/usr/include/c++/4.7/exception" 3
  1176.  
  1177. #pragma GCC visibility push(default)
  1178.  
  1179.  
  1180. # 1 "/usr/include/c++/4.7/bits/atomic_lockfree_defines.h" 1 3
  1181. # 33 "/usr/include/c++/4.7/bits/atomic_lockfree_defines.h" 3
  1182.        
  1183. # 34 "/usr/include/c++/4.7/bits/atomic_lockfree_defines.h" 3
  1184. # 41 "/usr/include/c++/4.7/exception" 2 3
  1185.  
  1186. extern "C++" {
  1187.  
  1188. namespace std
  1189. {
  1190. # 62 "/usr/include/c++/4.7/exception" 3
  1191.   class exception
  1192.   {
  1193.   public:
  1194.     exception() throw() { }
  1195.     virtual ~exception() throw();
  1196.  
  1197.  
  1198.  
  1199.     virtual const char* what() const throw();
  1200.   };
  1201.  
  1202.  
  1203.  
  1204.   class bad_exception : public exception
  1205.   {
  1206.   public:
  1207.     bad_exception() throw() { }
  1208.  
  1209.  
  1210.  
  1211.     virtual ~bad_exception() throw();
  1212.  
  1213.  
  1214.     virtual const char* what() const throw();
  1215.   };
  1216.  
  1217.  
  1218.   typedef void (*terminate_handler) ();
  1219.  
  1220.  
  1221.   typedef void (*unexpected_handler) ();
  1222.  
  1223.  
  1224.   terminate_handler set_terminate(terminate_handler) throw();
  1225.  
  1226.  
  1227.  
  1228.   void terminate() throw() __attribute__ ((__noreturn__));
  1229.  
  1230.  
  1231.   unexpected_handler set_unexpected(unexpected_handler) throw();
  1232.  
  1233.  
  1234.  
  1235.   void unexpected() __attribute__ ((__noreturn__));
  1236. # 119 "/usr/include/c++/4.7/exception" 3
  1237.   bool uncaught_exception() throw() __attribute__ ((__pure__));
  1238.  
  1239.  
  1240. }
  1241.  
  1242. namespace __gnu_cxx
  1243. {
  1244.  
  1245. # 144 "/usr/include/c++/4.7/exception" 3
  1246.   void __verbose_terminate_handler();
  1247.  
  1248.  
  1249. }
  1250.  
  1251. }
  1252.  
  1253. #pragma GCC visibility pop
  1254. # 41 "/usr/include/c++/4.7/ios" 2 3
  1255. # 1 "/usr/include/c++/4.7/bits/char_traits.h" 1 3
  1256. # 39 "/usr/include/c++/4.7/bits/char_traits.h" 3
  1257.        
  1258. # 40 "/usr/include/c++/4.7/bits/char_traits.h" 3
  1259.  
  1260. # 1 "/usr/include/c++/4.7/bits/stl_algobase.h" 1 3
  1261. # 61 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  1262. # 1 "/usr/include/c++/4.7/bits/functexcept.h" 1 3
  1263. # 41 "/usr/include/c++/4.7/bits/functexcept.h" 3
  1264. # 1 "/usr/include/c++/4.7/bits/exception_defines.h" 1 3
  1265. # 42 "/usr/include/c++/4.7/bits/functexcept.h" 2 3
  1266.  
  1267. namespace std __attribute__ ((__visibility__ ("default")))
  1268. {
  1269.  
  1270.  
  1271.  
  1272.   void
  1273.   __throw_bad_exception(void) __attribute__((__noreturn__));
  1274.  
  1275.  
  1276.   void
  1277.   __throw_bad_alloc(void) __attribute__((__noreturn__));
  1278.  
  1279.  
  1280.   void
  1281.   __throw_bad_cast(void) __attribute__((__noreturn__));
  1282.  
  1283.   void
  1284.   __throw_bad_typeid(void) __attribute__((__noreturn__));
  1285.  
  1286.  
  1287.   void
  1288.   __throw_logic_error(const char*) __attribute__((__noreturn__));
  1289.  
  1290.   void
  1291.   __throw_domain_error(const char*) __attribute__((__noreturn__));
  1292.  
  1293.   void
  1294.   __throw_invalid_argument(const char*) __attribute__((__noreturn__));
  1295.  
  1296.   void
  1297.   __throw_length_error(const char*) __attribute__((__noreturn__));
  1298.  
  1299.   void
  1300.   __throw_out_of_range(const char*) __attribute__((__noreturn__));
  1301.  
  1302.   void
  1303.   __throw_runtime_error(const char*) __attribute__((__noreturn__));
  1304.  
  1305.   void
  1306.   __throw_range_error(const char*) __attribute__((__noreturn__));
  1307.  
  1308.   void
  1309.   __throw_overflow_error(const char*) __attribute__((__noreturn__));
  1310.  
  1311.   void
  1312.   __throw_underflow_error(const char*) __attribute__((__noreturn__));
  1313.  
  1314.  
  1315.   void
  1316.   __throw_ios_failure(const char*) __attribute__((__noreturn__));
  1317.  
  1318.   void
  1319.   __throw_system_error(int) __attribute__((__noreturn__));
  1320.  
  1321.   void
  1322.   __throw_future_error(int) __attribute__((__noreturn__));
  1323.  
  1324.  
  1325.   void
  1326.   __throw_bad_function_call() __attribute__((__noreturn__));
  1327.  
  1328.  
  1329. }
  1330. # 62 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  1331. # 1 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 1 3
  1332. # 36 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 3
  1333.        
  1334. # 37 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 3
  1335. # 69 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 3
  1336. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  1337. {
  1338.  
  1339.  
  1340.   template<typename _Iterator, typename _Container>
  1341.     class __normal_iterator;
  1342.  
  1343.  
  1344. }
  1345.  
  1346. namespace std __attribute__ ((__visibility__ ("default")))
  1347. {
  1348.  
  1349.  
  1350.   struct __true_type { };
  1351.   struct __false_type { };
  1352.  
  1353.   template<bool>
  1354.     struct __truth_type
  1355.     { typedef __false_type __type; };
  1356.  
  1357.   template<>
  1358.     struct __truth_type<true>
  1359.     { typedef __true_type __type; };
  1360.  
  1361.  
  1362.  
  1363.   template<class _Sp, class _Tp>
  1364.     struct __traitor
  1365.     {
  1366.       enum { __value = bool(_Sp::__value) || bool(_Tp::__value) };
  1367.       typedef typename __truth_type<__value>::__type __type;
  1368.     };
  1369.  
  1370.  
  1371.   template<typename, typename>
  1372.     struct __are_same
  1373.     {
  1374.       enum { __value = 0 };
  1375.       typedef __false_type __type;
  1376.     };
  1377.  
  1378.   template<typename _Tp>
  1379.     struct __are_same<_Tp, _Tp>
  1380.     {
  1381.       enum { __value = 1 };
  1382.       typedef __true_type __type;
  1383.     };
  1384.  
  1385.  
  1386.   template<typename _Tp>
  1387.     struct __is_void
  1388.     {
  1389.       enum { __value = 0 };
  1390.       typedef __false_type __type;
  1391.     };
  1392.  
  1393.   template<>
  1394.     struct __is_void<void>
  1395.     {
  1396.       enum { __value = 1 };
  1397.       typedef __true_type __type;
  1398.     };
  1399.  
  1400.  
  1401.  
  1402.  
  1403.   template<typename _Tp>
  1404.     struct __is_integer
  1405.     {
  1406.       enum { __value = 0 };
  1407.       typedef __false_type __type;
  1408.     };
  1409.  
  1410.  
  1411.  
  1412.  
  1413.   template<>
  1414.     struct __is_integer<bool>
  1415.     {
  1416.       enum { __value = 1 };
  1417.       typedef __true_type __type;
  1418.     };
  1419.  
  1420.   template<>
  1421.     struct __is_integer<char>
  1422.     {
  1423.       enum { __value = 1 };
  1424.       typedef __true_type __type;
  1425.     };
  1426.  
  1427.   template<>
  1428.     struct __is_integer<signed char>
  1429.     {
  1430.       enum { __value = 1 };
  1431.       typedef __true_type __type;
  1432.     };
  1433.  
  1434.   template<>
  1435.     struct __is_integer<unsigned char>
  1436.     {
  1437.       enum { __value = 1 };
  1438.       typedef __true_type __type;
  1439.     };
  1440.  
  1441.  
  1442.   template<>
  1443.     struct __is_integer<wchar_t>
  1444.     {
  1445.       enum { __value = 1 };
  1446.       typedef __true_type __type;
  1447.     };
  1448. # 199 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 3
  1449.   template<>
  1450.     struct __is_integer<short>
  1451.     {
  1452.       enum { __value = 1 };
  1453.       typedef __true_type __type;
  1454.     };
  1455.  
  1456.   template<>
  1457.     struct __is_integer<unsigned short>
  1458.     {
  1459.       enum { __value = 1 };
  1460.       typedef __true_type __type;
  1461.     };
  1462.  
  1463.   template<>
  1464.     struct __is_integer<int>
  1465.     {
  1466.       enum { __value = 1 };
  1467.       typedef __true_type __type;
  1468.     };
  1469.  
  1470.   template<>
  1471.     struct __is_integer<unsigned int>
  1472.     {
  1473.       enum { __value = 1 };
  1474.       typedef __true_type __type;
  1475.     };
  1476.  
  1477.   template<>
  1478.     struct __is_integer<long>
  1479.     {
  1480.       enum { __value = 1 };
  1481.       typedef __true_type __type;
  1482.     };
  1483.  
  1484.   template<>
  1485.     struct __is_integer<unsigned long>
  1486.     {
  1487.       enum { __value = 1 };
  1488.       typedef __true_type __type;
  1489.     };
  1490.  
  1491.   template<>
  1492.     struct __is_integer<long long>
  1493.     {
  1494.       enum { __value = 1 };
  1495.       typedef __true_type __type;
  1496.     };
  1497.  
  1498.   template<>
  1499.     struct __is_integer<unsigned long long>
  1500.     {
  1501.       enum { __value = 1 };
  1502.       typedef __true_type __type;
  1503.     };
  1504.  
  1505.  
  1506.  
  1507.  
  1508.   template<typename _Tp>
  1509.     struct __is_floating
  1510.     {
  1511.       enum { __value = 0 };
  1512.       typedef __false_type __type;
  1513.     };
  1514.  
  1515.  
  1516.   template<>
  1517.     struct __is_floating<float>
  1518.     {
  1519.       enum { __value = 1 };
  1520.       typedef __true_type __type;
  1521.     };
  1522.  
  1523.   template<>
  1524.     struct __is_floating<double>
  1525.     {
  1526.       enum { __value = 1 };
  1527.       typedef __true_type __type;
  1528.     };
  1529.  
  1530.   template<>
  1531.     struct __is_floating<long double>
  1532.     {
  1533.       enum { __value = 1 };
  1534.       typedef __true_type __type;
  1535.     };
  1536.  
  1537.  
  1538.  
  1539.  
  1540.   template<typename _Tp>
  1541.     struct __is_pointer
  1542.     {
  1543.       enum { __value = 0 };
  1544.       typedef __false_type __type;
  1545.     };
  1546.  
  1547.   template<typename _Tp>
  1548.     struct __is_pointer<_Tp*>
  1549.     {
  1550.       enum { __value = 1 };
  1551.       typedef __true_type __type;
  1552.     };
  1553.  
  1554.  
  1555.  
  1556.  
  1557.   template<typename _Tp>
  1558.     struct __is_normal_iterator
  1559.     {
  1560.       enum { __value = 0 };
  1561.       typedef __false_type __type;
  1562.     };
  1563.  
  1564.   template<typename _Iterator, typename _Container>
  1565.     struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator,
  1566.              _Container> >
  1567.     {
  1568.       enum { __value = 1 };
  1569.       typedef __true_type __type;
  1570.     };
  1571.  
  1572.  
  1573.  
  1574.  
  1575.   template<typename _Tp>
  1576.     struct __is_arithmetic
  1577.     : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
  1578.     { };
  1579.  
  1580.  
  1581.  
  1582.  
  1583.   template<typename _Tp>
  1584.     struct __is_fundamental
  1585.     : public __traitor<__is_void<_Tp>, __is_arithmetic<_Tp> >
  1586.     { };
  1587.  
  1588.  
  1589.  
  1590.  
  1591.   template<typename _Tp>
  1592.     struct __is_scalar
  1593.     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
  1594.     { };
  1595.  
  1596.  
  1597.  
  1598.  
  1599.   template<typename _Tp>
  1600.     struct __is_char
  1601.     {
  1602.       enum { __value = 0 };
  1603.       typedef __false_type __type;
  1604.     };
  1605.  
  1606.   template<>
  1607.     struct __is_char<char>
  1608.     {
  1609.       enum { __value = 1 };
  1610.       typedef __true_type __type;
  1611.     };
  1612.  
  1613.  
  1614.   template<>
  1615.     struct __is_char<wchar_t>
  1616.     {
  1617.       enum { __value = 1 };
  1618.       typedef __true_type __type;
  1619.     };
  1620.  
  1621.  
  1622.   template<typename _Tp>
  1623.     struct __is_byte
  1624.     {
  1625.       enum { __value = 0 };
  1626.       typedef __false_type __type;
  1627.     };
  1628.  
  1629.   template<>
  1630.     struct __is_byte<char>
  1631.     {
  1632.       enum { __value = 1 };
  1633.       typedef __true_type __type;
  1634.     };
  1635.  
  1636.   template<>
  1637.     struct __is_byte<signed char>
  1638.     {
  1639.       enum { __value = 1 };
  1640.       typedef __true_type __type;
  1641.     };
  1642.  
  1643.   template<>
  1644.     struct __is_byte<unsigned char>
  1645.     {
  1646.       enum { __value = 1 };
  1647.       typedef __true_type __type;
  1648.     };
  1649.  
  1650.  
  1651.  
  1652.  
  1653.   template<typename _Tp>
  1654.     struct __is_move_iterator
  1655.     {
  1656.       enum { __value = 0 };
  1657.       typedef __false_type __type;
  1658.     };
  1659. # 422 "/usr/include/c++/4.7/bits/cpp_type_traits.h" 3
  1660.  
  1661. }
  1662. # 63 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  1663. # 1 "/usr/include/c++/4.7/ext/type_traits.h" 1 3
  1664. # 32 "/usr/include/c++/4.7/ext/type_traits.h" 3
  1665.        
  1666. # 33 "/usr/include/c++/4.7/ext/type_traits.h" 3
  1667.  
  1668.  
  1669.  
  1670.  
  1671. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  1672. {
  1673.  
  1674.  
  1675.  
  1676.   template<bool, typename>
  1677.     struct __enable_if
  1678.     { };
  1679.  
  1680.   template<typename _Tp>
  1681.     struct __enable_if<true, _Tp>
  1682.     { typedef _Tp __type; };
  1683.  
  1684.  
  1685.  
  1686.   template<bool _Cond, typename _Iftrue, typename _Iffalse>
  1687.     struct __conditional_type
  1688.     { typedef _Iftrue __type; };
  1689.  
  1690.   template<typename _Iftrue, typename _Iffalse>
  1691.     struct __conditional_type<false, _Iftrue, _Iffalse>
  1692.     { typedef _Iffalse __type; };
  1693.  
  1694.  
  1695.  
  1696.   template<typename _Tp>
  1697.     struct __add_unsigned
  1698.     {
  1699.     private:
  1700.       typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type;
  1701.  
  1702.     public:
  1703.       typedef typename __if_type::__type __type;
  1704.     };
  1705.  
  1706.   template<>
  1707.     struct __add_unsigned<char>
  1708.     { typedef unsigned char __type; };
  1709.  
  1710.   template<>
  1711.     struct __add_unsigned<signed char>
  1712.     { typedef unsigned char __type; };
  1713.  
  1714.   template<>
  1715.     struct __add_unsigned<short>
  1716.     { typedef unsigned short __type; };
  1717.  
  1718.   template<>
  1719.     struct __add_unsigned<int>
  1720.     { typedef unsigned int __type; };
  1721.  
  1722.   template<>
  1723.     struct __add_unsigned<long>
  1724.     { typedef unsigned long __type; };
  1725.  
  1726.   template<>
  1727.     struct __add_unsigned<long long>
  1728.     { typedef unsigned long long __type; };
  1729.  
  1730.  
  1731.   template<>
  1732.     struct __add_unsigned<bool>;
  1733.  
  1734.   template<>
  1735.     struct __add_unsigned<wchar_t>;
  1736.  
  1737.  
  1738.  
  1739.   template<typename _Tp>
  1740.     struct __remove_unsigned
  1741.     {
  1742.     private:
  1743.       typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type;
  1744.  
  1745.     public:
  1746.       typedef typename __if_type::__type __type;
  1747.     };
  1748.  
  1749.   template<>
  1750.     struct __remove_unsigned<char>
  1751.     { typedef signed char __type; };
  1752.  
  1753.   template<>
  1754.     struct __remove_unsigned<unsigned char>
  1755.     { typedef signed char __type; };
  1756.  
  1757.   template<>
  1758.     struct __remove_unsigned<unsigned short>
  1759.     { typedef short __type; };
  1760.  
  1761.   template<>
  1762.     struct __remove_unsigned<unsigned int>
  1763.     { typedef int __type; };
  1764.  
  1765.   template<>
  1766.     struct __remove_unsigned<unsigned long>
  1767.     { typedef long __type; };
  1768.  
  1769.   template<>
  1770.     struct __remove_unsigned<unsigned long long>
  1771.     { typedef long long __type; };
  1772.  
  1773.  
  1774.   template<>
  1775.     struct __remove_unsigned<bool>;
  1776.  
  1777.   template<>
  1778.     struct __remove_unsigned<wchar_t>;
  1779.  
  1780.  
  1781.  
  1782.   template<typename _Type>
  1783.     inline bool
  1784.     __is_null_pointer(_Type* __ptr)
  1785.     { return __ptr == 0; }
  1786.  
  1787.   template<typename _Type>
  1788.     inline bool
  1789.     __is_null_pointer(_Type)
  1790.     { return false; }
  1791.  
  1792.  
  1793.  
  1794.   template<typename _Tp, bool = std::__is_integer<_Tp>::__value>
  1795.     struct __promote
  1796.     { typedef double __type; };
  1797.  
  1798.  
  1799.  
  1800.  
  1801.   template<typename _Tp>
  1802.     struct __promote<_Tp, false>
  1803.     { };
  1804.  
  1805.   template<>
  1806.     struct __promote<long double>
  1807.     { typedef long double __type; };
  1808.  
  1809.   template<>
  1810.     struct __promote<double>
  1811.     { typedef double __type; };
  1812.  
  1813.   template<>
  1814.     struct __promote<float>
  1815.     { typedef float __type; };
  1816.  
  1817.   template<typename _Tp, typename _Up,
  1818.            typename _Tp2 = typename __promote<_Tp>::__type,
  1819.            typename _Up2 = typename __promote<_Up>::__type>
  1820.     struct __promote_2
  1821.     {
  1822.       typedef __typeof__(_Tp2() + _Up2()) __type;
  1823.     };
  1824.  
  1825.   template<typename _Tp, typename _Up, typename _Vp,
  1826.            typename _Tp2 = typename __promote<_Tp>::__type,
  1827.            typename _Up2 = typename __promote<_Up>::__type,
  1828.            typename _Vp2 = typename __promote<_Vp>::__type>
  1829.     struct __promote_3
  1830.     {
  1831.       typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type;
  1832.     };
  1833.  
  1834.   template<typename _Tp, typename _Up, typename _Vp, typename _Wp,
  1835.            typename _Tp2 = typename __promote<_Tp>::__type,
  1836.            typename _Up2 = typename __promote<_Up>::__type,
  1837.            typename _Vp2 = typename __promote<_Vp>::__type,
  1838.            typename _Wp2 = typename __promote<_Wp>::__type>
  1839.     struct __promote_4
  1840.     {
  1841.       typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type;
  1842.     };
  1843.  
  1844.  
  1845. }
  1846. # 64 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  1847. # 1 "/usr/include/c++/4.7/ext/numeric_traits.h" 1 3
  1848. # 32 "/usr/include/c++/4.7/ext/numeric_traits.h" 3
  1849.        
  1850. # 33 "/usr/include/c++/4.7/ext/numeric_traits.h" 3
  1851.  
  1852.  
  1853.  
  1854.  
  1855. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  1856. {
  1857.  
  1858. # 54 "/usr/include/c++/4.7/ext/numeric_traits.h" 3
  1859.   template<typename _Value>
  1860.     struct __numeric_traits_integer
  1861.     {
  1862.  
  1863.       static const _Value __min = (((_Value)(-1) < 0) ? (_Value)1 << (sizeof(_Value) * 8 - ((_Value)(-1) < 0)) : (_Value)0);
  1864.       static const _Value __max = (((_Value)(-1) < 0) ? (((((_Value)1 << ((sizeof(_Value) * 8 - ((_Value)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(_Value)0);
  1865.  
  1866.  
  1867.  
  1868.       static const bool __is_signed = ((_Value)(-1) < 0);
  1869.       static const int __digits = (sizeof(_Value) * 8 - ((_Value)(-1) < 0));
  1870.     };
  1871.  
  1872.   template<typename _Value>
  1873.     const _Value __numeric_traits_integer<_Value>::__min;
  1874.  
  1875.   template<typename _Value>
  1876.     const _Value __numeric_traits_integer<_Value>::__max;
  1877.  
  1878.   template<typename _Value>
  1879.     const bool __numeric_traits_integer<_Value>::__is_signed;
  1880.  
  1881.   template<typename _Value>
  1882.     const int __numeric_traits_integer<_Value>::__digits;
  1883. # 99 "/usr/include/c++/4.7/ext/numeric_traits.h" 3
  1884.   template<typename _Value>
  1885.     struct __numeric_traits_floating
  1886.     {
  1887.  
  1888.       static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 64) * 643L / 2136);
  1889.  
  1890.  
  1891.       static const bool __is_signed = true;
  1892.       static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 18);
  1893.       static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 4932);
  1894.     };
  1895.  
  1896.   template<typename _Value>
  1897.     const int __numeric_traits_floating<_Value>::__max_digits10;
  1898.  
  1899.   template<typename _Value>
  1900.     const bool __numeric_traits_floating<_Value>::__is_signed;
  1901.  
  1902.   template<typename _Value>
  1903.     const int __numeric_traits_floating<_Value>::__digits10;
  1904.  
  1905.   template<typename _Value>
  1906.     const int __numeric_traits_floating<_Value>::__max_exponent10;
  1907.  
  1908.   template<typename _Value>
  1909.     struct __numeric_traits
  1910.     : public __conditional_type<std::__is_integer<_Value>::__value,
  1911.     __numeric_traits_integer<_Value>,
  1912.     __numeric_traits_floating<_Value> >::__type
  1913.     { };
  1914.  
  1915.  
  1916. }
  1917. # 65 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  1918. # 1 "/usr/include/c++/4.7/bits/stl_pair.h" 1 3
  1919. # 61 "/usr/include/c++/4.7/bits/stl_pair.h" 3
  1920. # 1 "/usr/include/c++/4.7/bits/move.h" 1 3
  1921. # 34 "/usr/include/c++/4.7/bits/move.h" 3
  1922. # 1 "/usr/include/c++/4.7/bits/concept_check.h" 1 3
  1923. # 33 "/usr/include/c++/4.7/bits/concept_check.h" 3
  1924.        
  1925. # 34 "/usr/include/c++/4.7/bits/concept_check.h" 3
  1926. # 35 "/usr/include/c++/4.7/bits/move.h" 2 3
  1927.  
  1928. namespace std __attribute__ ((__visibility__ ("default")))
  1929. {
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.   template<typename _Tp>
  1938.     inline _Tp*
  1939.     __addressof(_Tp& __r)
  1940.     {
  1941.       return reinterpret_cast<_Tp*>
  1942.  (&const_cast<char&>(reinterpret_cast<const volatile char&>(__r)));
  1943.     }
  1944.  
  1945.  
  1946. }
  1947. # 150 "/usr/include/c++/4.7/bits/move.h" 3
  1948. namespace std __attribute__ ((__visibility__ ("default")))
  1949. {
  1950.  
  1951. # 165 "/usr/include/c++/4.7/bits/move.h" 3
  1952.   template<typename _Tp>
  1953.     inline void
  1954.     swap(_Tp& __a, _Tp& __b)
  1955.  
  1956.  
  1957.  
  1958.  
  1959.     {
  1960.  
  1961.      
  1962.  
  1963.       _Tp __tmp = (__a);
  1964.       __a = (__b);
  1965.       __b = (__tmp);
  1966.     }
  1967.  
  1968.  
  1969.  
  1970.  
  1971.   template<typename _Tp, size_t _Nm>
  1972.     inline void
  1973.     swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
  1974.  
  1975.  
  1976.  
  1977.     {
  1978.       for (size_t __n = 0; __n < _Nm; ++__n)
  1979.  swap(__a[__n], __b[__n]);
  1980.     }
  1981.  
  1982.  
  1983.  
  1984. }
  1985. # 62 "/usr/include/c++/4.7/bits/stl_pair.h" 2 3
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991. namespace std __attribute__ ((__visibility__ ("default")))
  1992. {
  1993.  
  1994. # 87 "/usr/include/c++/4.7/bits/stl_pair.h" 3
  1995.   template<class _T1, class _T2>
  1996.     struct pair
  1997.     {
  1998.       typedef _T1 first_type;
  1999.       typedef _T2 second_type;
  2000.  
  2001.       _T1 first;
  2002.       _T2 second;
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.       pair()
  2009.       : first(), second() { }
  2010.  
  2011.  
  2012.       pair(const _T1& __a, const _T2& __b)
  2013.       : first(__a), second(__b) { }
  2014.  
  2015.  
  2016.  
  2017.       template<class _U1, class _U2>
  2018.  pair(const pair<_U1, _U2>& __p)
  2019.  : first(__p.first), second(__p.second) { }
  2020. # 201 "/usr/include/c++/4.7/bits/stl_pair.h" 3
  2021.     };
  2022.  
  2023.  
  2024.   template<class _T1, class _T2>
  2025.     inline bool
  2026.     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2027.     { return __x.first == __y.first && __x.second == __y.second; }
  2028.  
  2029.  
  2030.   template<class _T1, class _T2>
  2031.     inline bool
  2032.     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2033.     { return __x.first < __y.first
  2034.       || (!(__y.first < __x.first) && __x.second < __y.second); }
  2035.  
  2036.  
  2037.   template<class _T1, class _T2>
  2038.     inline bool
  2039.     operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2040.     { return !(__x == __y); }
  2041.  
  2042.  
  2043.   template<class _T1, class _T2>
  2044.     inline bool
  2045.     operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2046.     { return __y < __x; }
  2047.  
  2048.  
  2049.   template<class _T1, class _T2>
  2050.     inline bool
  2051.     operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2052.     { return !(__y < __x); }
  2053.  
  2054.  
  2055.   template<class _T1, class _T2>
  2056.     inline bool
  2057.     operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2058.     { return !(__x < __y); }
  2059. # 276 "/usr/include/c++/4.7/bits/stl_pair.h" 3
  2060.   template<class _T1, class _T2>
  2061.     inline pair<_T1, _T2>
  2062.     make_pair(_T1 __x, _T2 __y)
  2063.     { return pair<_T1, _T2>(__x, __y); }
  2064.  
  2065.  
  2066.  
  2067. }
  2068. # 66 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  2069. # 1 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 1 3
  2070. # 63 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 3
  2071.        
  2072. # 64 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 3
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080. namespace std __attribute__ ((__visibility__ ("default")))
  2081. {
  2082.  
  2083. # 90 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 3
  2084.   struct input_iterator_tag { };
  2085.  
  2086.  
  2087.   struct output_iterator_tag { };
  2088.  
  2089.  
  2090.   struct forward_iterator_tag : public input_iterator_tag { };
  2091.  
  2092.  
  2093.  
  2094.   struct bidirectional_iterator_tag : public forward_iterator_tag { };
  2095.  
  2096.  
  2097.  
  2098.   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
  2099. # 117 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 3
  2100.   template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
  2101.            typename _Pointer = _Tp*, typename _Reference = _Tp&>
  2102.     struct iterator
  2103.     {
  2104.  
  2105.       typedef _Category iterator_category;
  2106.  
  2107.       typedef _Tp value_type;
  2108.  
  2109.       typedef _Distance difference_type;
  2110.  
  2111.       typedef _Pointer pointer;
  2112.  
  2113.       typedef _Reference reference;
  2114.     };
  2115. # 163 "/usr/include/c++/4.7/bits/stl_iterator_base_types.h" 3
  2116.   template<typename _Iterator>
  2117.     struct iterator_traits
  2118.     {
  2119.       typedef typename _Iterator::iterator_category iterator_category;
  2120.       typedef typename _Iterator::value_type value_type;
  2121.       typedef typename _Iterator::difference_type difference_type;
  2122.       typedef typename _Iterator::pointer pointer;
  2123.       typedef typename _Iterator::reference reference;
  2124.     };
  2125.  
  2126.  
  2127.  
  2128.   template<typename _Tp>
  2129.     struct iterator_traits<_Tp*>
  2130.     {
  2131.       typedef random_access_iterator_tag iterator_category;
  2132.       typedef _Tp value_type;
  2133.       typedef ptrdiff_t difference_type;
  2134.       typedef _Tp* pointer;
  2135.       typedef _Tp& reference;
  2136.     };
  2137.  
  2138.  
  2139.   template<typename _Tp>
  2140.     struct iterator_traits<const _Tp*>
  2141.     {
  2142.       typedef random_access_iterator_tag iterator_category;
  2143.       typedef _Tp value_type;
  2144.       typedef ptrdiff_t difference_type;
  2145.       typedef const _Tp* pointer;
  2146.       typedef const _Tp& reference;
  2147.     };
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.   template<typename _Iter>
  2154.     inline typename iterator_traits<_Iter>::iterator_category
  2155.     __iterator_category(const _Iter&)
  2156.     { return typename iterator_traits<_Iter>::iterator_category(); }
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.   template<typename _Iterator, bool _HasBase>
  2163.     struct _Iter_base
  2164.     {
  2165.       typedef _Iterator iterator_type;
  2166.       static iterator_type _S_base(_Iterator __it)
  2167.       { return __it; }
  2168.     };
  2169.  
  2170.   template<typename _Iterator>
  2171.     struct _Iter_base<_Iterator, true>
  2172.     {
  2173.       typedef typename _Iterator::iterator_type iterator_type;
  2174.       static iterator_type _S_base(_Iterator __it)
  2175.       { return __it.base(); }
  2176.     };
  2177.  
  2178.  
  2179. }
  2180. # 67 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  2181. # 1 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 1 3
  2182. # 63 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 3
  2183.        
  2184. # 64 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 3
  2185.  
  2186.  
  2187.  
  2188. namespace std __attribute__ ((__visibility__ ("default")))
  2189. {
  2190.  
  2191.  
  2192.   template<typename _InputIterator>
  2193.     inline typename iterator_traits<_InputIterator>::difference_type
  2194.     __distance(_InputIterator __first, _InputIterator __last,
  2195.                input_iterator_tag)
  2196.     {
  2197.  
  2198.      
  2199.  
  2200.       typename iterator_traits<_InputIterator>::difference_type __n = 0;
  2201.       while (__first != __last)
  2202.  {
  2203.    ++__first;
  2204.    ++__n;
  2205.  }
  2206.       return __n;
  2207.     }
  2208.  
  2209.   template<typename _RandomAccessIterator>
  2210.     inline typename iterator_traits<_RandomAccessIterator>::difference_type
  2211.     __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
  2212.                random_access_iterator_tag)
  2213.     {
  2214.  
  2215.      
  2216.  
  2217.       return __last - __first;
  2218.     }
  2219. # 112 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 3
  2220.   template<typename _InputIterator>
  2221.     inline typename iterator_traits<_InputIterator>::difference_type
  2222.     distance(_InputIterator __first, _InputIterator __last)
  2223.     {
  2224.  
  2225.       return std::__distance(__first, __last,
  2226.         std::__iterator_category(__first));
  2227.     }
  2228.  
  2229.   template<typename _InputIterator, typename _Distance>
  2230.     inline void
  2231.     __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
  2232.     {
  2233.  
  2234.      
  2235.       while (__n--)
  2236.  ++__i;
  2237.     }
  2238.  
  2239.   template<typename _BidirectionalIterator, typename _Distance>
  2240.     inline void
  2241.     __advance(_BidirectionalIterator& __i, _Distance __n,
  2242.        bidirectional_iterator_tag)
  2243.     {
  2244.  
  2245.      
  2246.  
  2247.       if (__n > 0)
  2248.         while (__n--)
  2249.    ++__i;
  2250.       else
  2251.         while (__n++)
  2252.    --__i;
  2253.     }
  2254.  
  2255.   template<typename _RandomAccessIterator, typename _Distance>
  2256.     inline void
  2257.     __advance(_RandomAccessIterator& __i, _Distance __n,
  2258.               random_access_iterator_tag)
  2259.     {
  2260.  
  2261.      
  2262.  
  2263.       __i += __n;
  2264.     }
  2265. # 170 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 3
  2266.   template<typename _InputIterator, typename _Distance>
  2267.     inline void
  2268.     advance(_InputIterator& __i, _Distance __n)
  2269.     {
  2270.  
  2271.       typename iterator_traits<_InputIterator>::difference_type __d = __n;
  2272.       std::__advance(__i, __d, std::__iterator_category(__i));
  2273.     }
  2274. # 201 "/usr/include/c++/4.7/bits/stl_iterator_base_funcs.h" 3
  2275.  
  2276. }
  2277. # 68 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  2278. # 1 "/usr/include/c++/4.7/bits/stl_iterator.h" 1 3
  2279. # 69 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2280. namespace std __attribute__ ((__visibility__ ("default")))
  2281. {
  2282.  
  2283. # 97 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2284.   template<typename _Iterator>
  2285.     class reverse_iterator
  2286.     : public iterator<typename iterator_traits<_Iterator>::iterator_category,
  2287.         typename iterator_traits<_Iterator>::value_type,
  2288.         typename iterator_traits<_Iterator>::difference_type,
  2289.         typename iterator_traits<_Iterator>::pointer,
  2290.                       typename iterator_traits<_Iterator>::reference>
  2291.     {
  2292.     protected:
  2293.       _Iterator current;
  2294.  
  2295.       typedef iterator_traits<_Iterator> __traits_type;
  2296.  
  2297.     public:
  2298.       typedef _Iterator iterator_type;
  2299.       typedef typename __traits_type::difference_type difference_type;
  2300.       typedef typename __traits_type::pointer pointer;
  2301.       typedef typename __traits_type::reference reference;
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.       reverse_iterator() : current() { }
  2310.  
  2311.  
  2312.  
  2313.  
  2314.       explicit
  2315.       reverse_iterator(iterator_type __x) : current(__x) { }
  2316.  
  2317.  
  2318.  
  2319.  
  2320.       reverse_iterator(const reverse_iterator& __x)
  2321.       : current(__x.current) { }
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.       template<typename _Iter>
  2328.         reverse_iterator(const reverse_iterator<_Iter>& __x)
  2329.  : current(__x.base()) { }
  2330.  
  2331.  
  2332.  
  2333.  
  2334.       iterator_type
  2335.       base() const
  2336.       { return current; }
  2337. # 161 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2338.       reference
  2339.       operator*() const
  2340.       {
  2341.  _Iterator __tmp = current;
  2342.  return *--__tmp;
  2343.       }
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.       pointer
  2351.       operator->() const
  2352.       { return &(operator*()); }
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.       reverse_iterator&
  2360.       operator++()
  2361.       {
  2362.  --current;
  2363.  return *this;
  2364.       }
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.       reverse_iterator
  2372.       operator++(int)
  2373.       {
  2374.  reverse_iterator __tmp = *this;
  2375.  --current;
  2376.  return __tmp;
  2377.       }
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.       reverse_iterator&
  2385.       operator--()
  2386.       {
  2387.  ++current;
  2388.  return *this;
  2389.       }
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.       reverse_iterator
  2397.       operator--(int)
  2398.       {
  2399.  reverse_iterator __tmp = *this;
  2400.  ++current;
  2401.  return __tmp;
  2402.       }
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.       reverse_iterator
  2410.       operator+(difference_type __n) const
  2411.       { return reverse_iterator(current - __n); }
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.       reverse_iterator&
  2420.       operator+=(difference_type __n)
  2421.       {
  2422.  current -= __n;
  2423.  return *this;
  2424.       }
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.       reverse_iterator
  2432.       operator-(difference_type __n) const
  2433.       { return reverse_iterator(current + __n); }
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.       reverse_iterator&
  2442.       operator-=(difference_type __n)
  2443.       {
  2444.  current += __n;
  2445.  return *this;
  2446.       }
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.       reference
  2454.       operator[](difference_type __n) const
  2455.       { return *(*this + __n); }
  2456.     };
  2457. # 291 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2458.   template<typename _Iterator>
  2459.     inline bool
  2460.     operator==(const reverse_iterator<_Iterator>& __x,
  2461.         const reverse_iterator<_Iterator>& __y)
  2462.     { return __x.base() == __y.base(); }
  2463.  
  2464.   template<typename _Iterator>
  2465.     inline bool
  2466.     operator<(const reverse_iterator<_Iterator>& __x,
  2467.        const reverse_iterator<_Iterator>& __y)
  2468.     { return __y.base() < __x.base(); }
  2469.  
  2470.   template<typename _Iterator>
  2471.     inline bool
  2472.     operator!=(const reverse_iterator<_Iterator>& __x,
  2473.         const reverse_iterator<_Iterator>& __y)
  2474.     { return !(__x == __y); }
  2475.  
  2476.   template<typename _Iterator>
  2477.     inline bool
  2478.     operator>(const reverse_iterator<_Iterator>& __x,
  2479.        const reverse_iterator<_Iterator>& __y)
  2480.     { return __y < __x; }
  2481.  
  2482.   template<typename _Iterator>
  2483.     inline bool
  2484.     operator<=(const reverse_iterator<_Iterator>& __x,
  2485.         const reverse_iterator<_Iterator>& __y)
  2486.     { return !(__y < __x); }
  2487.  
  2488.   template<typename _Iterator>
  2489.     inline bool
  2490.     operator>=(const reverse_iterator<_Iterator>& __x,
  2491.         const reverse_iterator<_Iterator>& __y)
  2492.     { return !(__x < __y); }
  2493.  
  2494.   template<typename _Iterator>
  2495.     inline typename reverse_iterator<_Iterator>::difference_type
  2496.     operator-(const reverse_iterator<_Iterator>& __x,
  2497.        const reverse_iterator<_Iterator>& __y)
  2498.     { return __y.base() - __x.base(); }
  2499.  
  2500.   template<typename _Iterator>
  2501.     inline reverse_iterator<_Iterator>
  2502.     operator+(typename reverse_iterator<_Iterator>::difference_type __n,
  2503.        const reverse_iterator<_Iterator>& __x)
  2504.     { return reverse_iterator<_Iterator>(__x.base() - __n); }
  2505.  
  2506.  
  2507.  
  2508.   template<typename _IteratorL, typename _IteratorR>
  2509.     inline bool
  2510.     operator==(const reverse_iterator<_IteratorL>& __x,
  2511.         const reverse_iterator<_IteratorR>& __y)
  2512.     { return __x.base() == __y.base(); }
  2513.  
  2514.   template<typename _IteratorL, typename _IteratorR>
  2515.     inline bool
  2516.     operator<(const reverse_iterator<_IteratorL>& __x,
  2517.        const reverse_iterator<_IteratorR>& __y)
  2518.     { return __y.base() < __x.base(); }
  2519.  
  2520.   template<typename _IteratorL, typename _IteratorR>
  2521.     inline bool
  2522.     operator!=(const reverse_iterator<_IteratorL>& __x,
  2523.         const reverse_iterator<_IteratorR>& __y)
  2524.     { return !(__x == __y); }
  2525.  
  2526.   template<typename _IteratorL, typename _IteratorR>
  2527.     inline bool
  2528.     operator>(const reverse_iterator<_IteratorL>& __x,
  2529.        const reverse_iterator<_IteratorR>& __y)
  2530.     { return __y < __x; }
  2531.  
  2532.   template<typename _IteratorL, typename _IteratorR>
  2533.     inline bool
  2534.     operator<=(const reverse_iterator<_IteratorL>& __x,
  2535.         const reverse_iterator<_IteratorR>& __y)
  2536.     { return !(__y < __x); }
  2537.  
  2538.   template<typename _IteratorL, typename _IteratorR>
  2539.     inline bool
  2540.     operator>=(const reverse_iterator<_IteratorL>& __x,
  2541.         const reverse_iterator<_IteratorR>& __y)
  2542.     { return !(__x < __y); }
  2543.  
  2544.   template<typename _IteratorL, typename _IteratorR>
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.     inline typename reverse_iterator<_IteratorL>::difference_type
  2553.     operator-(const reverse_iterator<_IteratorL>& __x,
  2554.        const reverse_iterator<_IteratorR>& __y)
  2555.  
  2556.     { return __y.base() - __x.base(); }
  2557. # 403 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2558.   template<typename _Container>
  2559.     class back_insert_iterator
  2560.     : public iterator<output_iterator_tag, void, void, void, void>
  2561.     {
  2562.     protected:
  2563.       _Container* container;
  2564.  
  2565.     public:
  2566.  
  2567.       typedef _Container container_type;
  2568.  
  2569.  
  2570.       explicit
  2571.       back_insert_iterator(_Container& __x) : container(&__x) { }
  2572. # 430 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2573.       back_insert_iterator&
  2574.       operator=(typename _Container::const_reference __value)
  2575.       {
  2576.  container->push_back(__value);
  2577.  return *this;
  2578.       }
  2579. # 453 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2580.       back_insert_iterator&
  2581.       operator*()
  2582.       { return *this; }
  2583.  
  2584.  
  2585.       back_insert_iterator&
  2586.       operator++()
  2587.       { return *this; }
  2588.  
  2589.  
  2590.       back_insert_iterator
  2591.       operator++(int)
  2592.       { return *this; }
  2593.     };
  2594. # 479 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2595.   template<typename _Container>
  2596.     inline back_insert_iterator<_Container>
  2597.     back_inserter(_Container& __x)
  2598.     { return back_insert_iterator<_Container>(__x); }
  2599. # 494 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2600.   template<typename _Container>
  2601.     class front_insert_iterator
  2602.     : public iterator<output_iterator_tag, void, void, void, void>
  2603.     {
  2604.     protected:
  2605.       _Container* container;
  2606.  
  2607.     public:
  2608.  
  2609.       typedef _Container container_type;
  2610.  
  2611.  
  2612.       explicit front_insert_iterator(_Container& __x) : container(&__x) { }
  2613. # 520 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2614.       front_insert_iterator&
  2615.       operator=(typename _Container::const_reference __value)
  2616.       {
  2617.  container->push_front(__value);
  2618.  return *this;
  2619.       }
  2620. # 543 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2621.       front_insert_iterator&
  2622.       operator*()
  2623.       { return *this; }
  2624.  
  2625.  
  2626.       front_insert_iterator&
  2627.       operator++()
  2628.       { return *this; }
  2629.  
  2630.  
  2631.       front_insert_iterator
  2632.       operator++(int)
  2633.       { return *this; }
  2634.     };
  2635. # 569 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2636.   template<typename _Container>
  2637.     inline front_insert_iterator<_Container>
  2638.     front_inserter(_Container& __x)
  2639.     { return front_insert_iterator<_Container>(__x); }
  2640. # 588 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2641.   template<typename _Container>
  2642.     class insert_iterator
  2643.     : public iterator<output_iterator_tag, void, void, void, void>
  2644.     {
  2645.     protected:
  2646.       _Container* container;
  2647.       typename _Container::iterator iter;
  2648.  
  2649.     public:
  2650.  
  2651.       typedef _Container container_type;
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.       insert_iterator(_Container& __x, typename _Container::iterator __i)
  2658.       : container(&__x), iter(__i) {}
  2659. # 631 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2660.       insert_iterator&
  2661.       operator=(typename _Container::const_reference __value)
  2662.       {
  2663.  iter = container->insert(iter, __value);
  2664.  ++iter;
  2665.  return *this;
  2666.       }
  2667. # 657 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2668.       insert_iterator&
  2669.       operator*()
  2670.       { return *this; }
  2671.  
  2672.  
  2673.       insert_iterator&
  2674.       operator++()
  2675.       { return *this; }
  2676.  
  2677.  
  2678.       insert_iterator&
  2679.       operator++(int)
  2680.       { return *this; }
  2681.     };
  2682. # 683 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2683.   template<typename _Container, typename _Iterator>
  2684.     inline insert_iterator<_Container>
  2685.     inserter(_Container& __x, _Iterator __i)
  2686.     {
  2687.       return insert_iterator<_Container>(__x,
  2688.       typename _Container::iterator(__i));
  2689.     }
  2690.  
  2691.  
  2692.  
  2693.  
  2694. }
  2695.  
  2696. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  2697. {
  2698.  
  2699. # 707 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2700.   using std::iterator_traits;
  2701.   using std::iterator;
  2702.   template<typename _Iterator, typename _Container>
  2703.     class __normal_iterator
  2704.     {
  2705.     protected:
  2706.       _Iterator _M_current;
  2707.  
  2708.       typedef iterator_traits<_Iterator> __traits_type;
  2709.  
  2710.     public:
  2711.       typedef _Iterator iterator_type;
  2712.       typedef typename __traits_type::iterator_category iterator_category;
  2713.       typedef typename __traits_type::value_type value_type;
  2714.       typedef typename __traits_type::difference_type difference_type;
  2715.       typedef typename __traits_type::reference reference;
  2716.       typedef typename __traits_type::pointer pointer;
  2717.  
  2718.       __normal_iterator() : _M_current(_Iterator()) { }
  2719.  
  2720.       explicit
  2721.       __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
  2722.  
  2723.  
  2724.       template<typename _Iter>
  2725.         __normal_iterator(const __normal_iterator<_Iter,
  2726.      typename __enable_if<
  2727.               (std::__are_same<_Iter, typename _Container::pointer>::__value),
  2728.         _Container>::__type>& __i)
  2729.         : _M_current(__i.base()) { }
  2730.  
  2731.  
  2732.       reference
  2733.       operator*() const
  2734.       { return *_M_current; }
  2735.  
  2736.       pointer
  2737.       operator->() const
  2738.       { return _M_current; }
  2739.  
  2740.       __normal_iterator&
  2741.       operator++()
  2742.       {
  2743.  ++_M_current;
  2744.  return *this;
  2745.       }
  2746.  
  2747.       __normal_iterator
  2748.       operator++(int)
  2749.       { return __normal_iterator(_M_current++); }
  2750.  
  2751.  
  2752.       __normal_iterator&
  2753.       operator--()
  2754.       {
  2755.  --_M_current;
  2756.  return *this;
  2757.       }
  2758.  
  2759.       __normal_iterator
  2760.       operator--(int)
  2761.       { return __normal_iterator(_M_current--); }
  2762.  
  2763.  
  2764.       reference
  2765.       operator[](const difference_type& __n) const
  2766.       { return _M_current[__n]; }
  2767.  
  2768.       __normal_iterator&
  2769.       operator+=(const difference_type& __n)
  2770.       { _M_current += __n; return *this; }
  2771.  
  2772.       __normal_iterator
  2773.       operator+(const difference_type& __n) const
  2774.       { return __normal_iterator(_M_current + __n); }
  2775.  
  2776.       __normal_iterator&
  2777.       operator-=(const difference_type& __n)
  2778.       { _M_current -= __n; return *this; }
  2779.  
  2780.       __normal_iterator
  2781.       operator-(const difference_type& __n) const
  2782.       { return __normal_iterator(_M_current - __n); }
  2783.  
  2784.       const _Iterator&
  2785.       base() const
  2786.       { return _M_current; }
  2787.     };
  2788. # 805 "/usr/include/c++/4.7/bits/stl_iterator.h" 3
  2789.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2790.     inline bool
  2791.     operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2792.         const __normal_iterator<_IteratorR, _Container>& __rhs)
  2793.     { return __lhs.base() == __rhs.base(); }
  2794.  
  2795.   template<typename _Iterator, typename _Container>
  2796.     inline bool
  2797.     operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
  2798.         const __normal_iterator<_Iterator, _Container>& __rhs)
  2799.     { return __lhs.base() == __rhs.base(); }
  2800.  
  2801.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2802.     inline bool
  2803.     operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2804.         const __normal_iterator<_IteratorR, _Container>& __rhs)
  2805.     { return __lhs.base() != __rhs.base(); }
  2806.  
  2807.   template<typename _Iterator, typename _Container>
  2808.     inline bool
  2809.     operator!=(const __normal_iterator<_Iterator, _Container>& __lhs,
  2810.         const __normal_iterator<_Iterator, _Container>& __rhs)
  2811.     { return __lhs.base() != __rhs.base(); }
  2812.  
  2813.  
  2814.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2815.     inline bool
  2816.     operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2817.        const __normal_iterator<_IteratorR, _Container>& __rhs)
  2818.     { return __lhs.base() < __rhs.base(); }
  2819.  
  2820.   template<typename _Iterator, typename _Container>
  2821.     inline bool
  2822.     operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
  2823.        const __normal_iterator<_Iterator, _Container>& __rhs)
  2824.     { return __lhs.base() < __rhs.base(); }
  2825.  
  2826.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2827.     inline bool
  2828.     operator>(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2829.        const __normal_iterator<_IteratorR, _Container>& __rhs)
  2830.     { return __lhs.base() > __rhs.base(); }
  2831.  
  2832.   template<typename _Iterator, typename _Container>
  2833.     inline bool
  2834.     operator>(const __normal_iterator<_Iterator, _Container>& __lhs,
  2835.        const __normal_iterator<_Iterator, _Container>& __rhs)
  2836.     { return __lhs.base() > __rhs.base(); }
  2837.  
  2838.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2839.     inline bool
  2840.     operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2841.         const __normal_iterator<_IteratorR, _Container>& __rhs)
  2842.     { return __lhs.base() <= __rhs.base(); }
  2843.  
  2844.   template<typename _Iterator, typename _Container>
  2845.     inline bool
  2846.     operator<=(const __normal_iterator<_Iterator, _Container>& __lhs,
  2847.         const __normal_iterator<_Iterator, _Container>& __rhs)
  2848.     { return __lhs.base() <= __rhs.base(); }
  2849.  
  2850.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2851.     inline bool
  2852.     operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2853.         const __normal_iterator<_IteratorR, _Container>& __rhs)
  2854.     { return __lhs.base() >= __rhs.base(); }
  2855.  
  2856.   template<typename _Iterator, typename _Container>
  2857.     inline bool
  2858.     operator>=(const __normal_iterator<_Iterator, _Container>& __lhs,
  2859.         const __normal_iterator<_Iterator, _Container>& __rhs)
  2860.     { return __lhs.base() >= __rhs.base(); }
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.   template<typename _IteratorL, typename _IteratorR, typename _Container>
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.     inline typename __normal_iterator<_IteratorL, _Container>::difference_type
  2875.     operator-(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2876.        const __normal_iterator<_IteratorR, _Container>& __rhs)
  2877.  
  2878.     { return __lhs.base() - __rhs.base(); }
  2879.  
  2880.   template<typename _Iterator, typename _Container>
  2881.     inline typename __normal_iterator<_Iterator, _Container>::difference_type
  2882.     operator-(const __normal_iterator<_Iterator, _Container>& __lhs,
  2883.        const __normal_iterator<_Iterator, _Container>& __rhs)
  2884.     { return __lhs.base() - __rhs.base(); }
  2885.  
  2886.   template<typename _Iterator, typename _Container>
  2887.     inline __normal_iterator<_Iterator, _Container>
  2888.     operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
  2889.        __n, const __normal_iterator<_Iterator, _Container>& __i)
  2890.     { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); }
  2891.  
  2892.  
  2893. }
  2894. # 69 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  2895.  
  2896. # 1 "/usr/include/c++/4.7/debug/debug.h" 1 3
  2897. # 47 "/usr/include/c++/4.7/debug/debug.h" 3
  2898. namespace std
  2899. {
  2900.   namespace __debug { }
  2901. }
  2902.  
  2903.  
  2904.  
  2905.  
  2906. namespace __gnu_debug
  2907. {
  2908.   using namespace std::__debug;
  2909. }
  2910. # 71 "/usr/include/c++/4.7/bits/stl_algobase.h" 2 3
  2911.  
  2912.  
  2913. namespace std __attribute__ ((__visibility__ ("default")))
  2914. {
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.   template<bool _BoolType>
  2921.     struct __iter_swap
  2922.     {
  2923.       template<typename _ForwardIterator1, typename _ForwardIterator2>
  2924.         static void
  2925.         iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
  2926.         {
  2927.           typedef typename iterator_traits<_ForwardIterator1>::value_type
  2928.             _ValueType1;
  2929.           _ValueType1 __tmp = (*__a);
  2930.           *__a = (*__b);
  2931.           *__b = (__tmp);
  2932.  }
  2933.     };
  2934.  
  2935.   template<>
  2936.     struct __iter_swap<true>
  2937.     {
  2938.       template<typename _ForwardIterator1, typename _ForwardIterator2>
  2939.         static void
  2940.         iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
  2941.         {
  2942.           swap(*__a, *__b);
  2943.         }
  2944.     };
  2945. # 116 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  2946.   template<typename _ForwardIterator1, typename _ForwardIterator2>
  2947.     inline void
  2948.     iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
  2949.     {
  2950.       typedef typename iterator_traits<_ForwardIterator1>::value_type
  2951.  _ValueType1;
  2952.       typedef typename iterator_traits<_ForwardIterator2>::value_type
  2953.  _ValueType2;
  2954.  
  2955.  
  2956.      
  2957.  
  2958.      
  2959.  
  2960.      
  2961.  
  2962.      
  2963.  
  2964.  
  2965.       typedef typename iterator_traits<_ForwardIterator1>::reference
  2966.  _ReferenceType1;
  2967.       typedef typename iterator_traits<_ForwardIterator2>::reference
  2968.  _ReferenceType2;
  2969.       std::__iter_swap<__are_same<_ValueType1, _ValueType2>::__value
  2970.  && __are_same<_ValueType1&, _ReferenceType1>::__value
  2971.  && __are_same<_ValueType2&, _ReferenceType2>::__value>::
  2972.  iter_swap(__a, __b);
  2973.     }
  2974. # 157 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  2975.   template<typename _ForwardIterator1, typename _ForwardIterator2>
  2976.     _ForwardIterator2
  2977.     swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
  2978.   _ForwardIterator2 __first2)
  2979.     {
  2980.  
  2981.      
  2982.  
  2983.      
  2984.  
  2985.       ;
  2986.  
  2987.       for (; __first1 != __last1; ++__first1, ++__first2)
  2988.  std::iter_swap(__first1, __first2);
  2989.       return __first2;
  2990.     }
  2991. # 185 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  2992.   template<typename _Tp>
  2993.     inline const _Tp&
  2994.     min(const _Tp& __a, const _Tp& __b)
  2995.     {
  2996.  
  2997.      
  2998.  
  2999.       if (__b < __a)
  3000.  return __b;
  3001.       return __a;
  3002.     }
  3003. # 208 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3004.   template<typename _Tp>
  3005.     inline const _Tp&
  3006.     max(const _Tp& __a, const _Tp& __b)
  3007.     {
  3008.  
  3009.      
  3010.  
  3011.       if (__a < __b)
  3012.  return __b;
  3013.       return __a;
  3014.     }
  3015. # 231 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3016.   template<typename _Tp, typename _Compare>
  3017.     inline const _Tp&
  3018.     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
  3019.     {
  3020.  
  3021.       if (__comp(__b, __a))
  3022.  return __b;
  3023.       return __a;
  3024.     }
  3025. # 252 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3026.   template<typename _Tp, typename _Compare>
  3027.     inline const _Tp&
  3028.     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
  3029.     {
  3030.  
  3031.       if (__comp(__a, __b))
  3032.  return __b;
  3033.       return __a;
  3034.     }
  3035.  
  3036.  
  3037.  
  3038.   template<typename _Iterator>
  3039.     struct _Niter_base
  3040.     : _Iter_base<_Iterator, __is_normal_iterator<_Iterator>::__value>
  3041.     { };
  3042.  
  3043.   template<typename _Iterator>
  3044.     inline typename _Niter_base<_Iterator>::iterator_type
  3045.     __niter_base(_Iterator __it)
  3046.     { return std::_Niter_base<_Iterator>::_S_base(__it); }
  3047.  
  3048.  
  3049.   template<typename _Iterator>
  3050.     struct _Miter_base
  3051.     : _Iter_base<_Iterator, __is_move_iterator<_Iterator>::__value>
  3052.     { };
  3053.  
  3054.   template<typename _Iterator>
  3055.     inline typename _Miter_base<_Iterator>::iterator_type
  3056.     __miter_base(_Iterator __it)
  3057.     { return std::_Miter_base<_Iterator>::_S_base(__it); }
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.   template<bool, bool, typename>
  3066.     struct __copy_move
  3067.     {
  3068.       template<typename _II, typename _OI>
  3069.         static _OI
  3070.         __copy_m(_II __first, _II __last, _OI __result)
  3071.         {
  3072.    for (; __first != __last; ++__result, ++__first)
  3073.      *__result = *__first;
  3074.    return __result;
  3075.  }
  3076.     };
  3077. # 319 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3078.   template<>
  3079.     struct __copy_move<false, false, random_access_iterator_tag>
  3080.     {
  3081.       template<typename _II, typename _OI>
  3082.         static _OI
  3083.         __copy_m(_II __first, _II __last, _OI __result)
  3084.         {
  3085.    typedef typename iterator_traits<_II>::difference_type _Distance;
  3086.    for(_Distance __n = __last - __first; __n > 0; --__n)
  3087.      {
  3088.        *__result = *__first;
  3089.        ++__first;
  3090.        ++__result;
  3091.      }
  3092.    return __result;
  3093.  }
  3094.     };
  3095. # 357 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3096.   template<bool _IsMove>
  3097.     struct __copy_move<_IsMove, true, random_access_iterator_tag>
  3098.     {
  3099.       template<typename _Tp>
  3100.         static _Tp*
  3101.         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  3102.         {
  3103.    const ptrdiff_t _Num = __last - __first;
  3104.    if (_Num)
  3105.      __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
  3106.    return __result + _Num;
  3107.  }
  3108.     };
  3109.  
  3110.   template<bool _IsMove, typename _II, typename _OI>
  3111.     inline _OI
  3112.     __copy_move_a(_II __first, _II __last, _OI __result)
  3113.     {
  3114.       typedef typename iterator_traits<_II>::value_type _ValueTypeI;
  3115.       typedef typename iterator_traits<_OI>::value_type _ValueTypeO;
  3116.       typedef typename iterator_traits<_II>::iterator_category _Category;
  3117.       const bool __simple = (__is_trivial(_ValueTypeI)
  3118.                       && __is_pointer<_II>::__value
  3119.                       && __is_pointer<_OI>::__value
  3120.         && __are_same<_ValueTypeI, _ValueTypeO>::__value);
  3121.  
  3122.       return std::__copy_move<_IsMove, __simple,
  3123.                        _Category>::__copy_m(__first, __last, __result);
  3124.     }
  3125.  
  3126.  
  3127.  
  3128.   template<typename _CharT>
  3129.     struct char_traits;
  3130.  
  3131.   template<typename _CharT, typename _Traits>
  3132.     class istreambuf_iterator;
  3133.  
  3134.   template<typename _CharT, typename _Traits>
  3135.     class ostreambuf_iterator;
  3136.  
  3137.   template<bool _IsMove, typename _CharT>
  3138.     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
  3139.       ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type
  3140.     __copy_move_a2(_CharT*, _CharT*,
  3141.      ostreambuf_iterator<_CharT, char_traits<_CharT> >);
  3142.  
  3143.   template<bool _IsMove, typename _CharT>
  3144.     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
  3145.       ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type
  3146.     __copy_move_a2(const _CharT*, const _CharT*,
  3147.      ostreambuf_iterator<_CharT, char_traits<_CharT> >);
  3148.  
  3149.   template<bool _IsMove, typename _CharT>
  3150.     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
  3151.         _CharT*>::__type
  3152.     __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >,
  3153.      istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*);
  3154.  
  3155.   template<bool _IsMove, typename _II, typename _OI>
  3156.     inline _OI
  3157.     __copy_move_a2(_II __first, _II __last, _OI __result)
  3158.     {
  3159.       return _OI(std::__copy_move_a<_IsMove>(std::__niter_base(__first),
  3160.           std::__niter_base(__last),
  3161.           std::__niter_base(__result)));
  3162.     }
  3163. # 442 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3164.   template<typename _II, typename _OI>
  3165.     inline _OI
  3166.     copy(_II __first, _II __last, _OI __result)
  3167.     {
  3168.  
  3169.      
  3170.      
  3171.  
  3172.       ;
  3173.  
  3174.       return (std::__copy_move_a2<__is_move_iterator<_II>::__value>
  3175.        (std::__miter_base(__first), std::__miter_base(__last),
  3176.         __result));
  3177.     }
  3178. # 494 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3179.   template<bool, bool, typename>
  3180.     struct __copy_move_backward
  3181.     {
  3182.       template<typename _BI1, typename _BI2>
  3183.         static _BI2
  3184.         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
  3185.         {
  3186.    while (__first != __last)
  3187.      *--__result = *--__last;
  3188.    return __result;
  3189.  }
  3190.     };
  3191. # 522 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3192.   template<>
  3193.     struct __copy_move_backward<false, false, random_access_iterator_tag>
  3194.     {
  3195.       template<typename _BI1, typename _BI2>
  3196.         static _BI2
  3197.         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
  3198.         {
  3199.    typename iterator_traits<_BI1>::difference_type __n;
  3200.    for (__n = __last - __first; __n > 0; --__n)
  3201.      *--__result = *--__last;
  3202.    return __result;
  3203.  }
  3204.     };
  3205. # 552 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3206.   template<bool _IsMove>
  3207.     struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
  3208.     {
  3209.       template<typename _Tp>
  3210.         static _Tp*
  3211.         __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
  3212.         {
  3213.    const ptrdiff_t _Num = __last - __first;
  3214.    if (_Num)
  3215.      __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num);
  3216.    return __result - _Num;
  3217.  }
  3218.     };
  3219.  
  3220.   template<bool _IsMove, typename _BI1, typename _BI2>
  3221.     inline _BI2
  3222.     __copy_move_backward_a(_BI1 __first, _BI1 __last, _BI2 __result)
  3223.     {
  3224.       typedef typename iterator_traits<_BI1>::value_type _ValueType1;
  3225.       typedef typename iterator_traits<_BI2>::value_type _ValueType2;
  3226.       typedef typename iterator_traits<_BI1>::iterator_category _Category;
  3227.       const bool __simple = (__is_trivial(_ValueType1)
  3228.                       && __is_pointer<_BI1>::__value
  3229.                       && __is_pointer<_BI2>::__value
  3230.         && __are_same<_ValueType1, _ValueType2>::__value);
  3231.  
  3232.       return std::__copy_move_backward<_IsMove, __simple,
  3233.                                 _Category>::__copy_move_b(__first,
  3234.          __last,
  3235.          __result);
  3236.     }
  3237.  
  3238.   template<bool _IsMove, typename _BI1, typename _BI2>
  3239.     inline _BI2
  3240.     __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
  3241.     {
  3242.       return _BI2(std::__copy_move_backward_a<_IsMove>
  3243.     (std::__niter_base(__first), std::__niter_base(__last),
  3244.      std::__niter_base(__result)));
  3245.     }
  3246. # 611 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3247.   template<typename _BI1, typename _BI2>
  3248.     inline _BI2
  3249.     copy_backward(_BI1 __first, _BI1 __last, _BI2 __result)
  3250.     {
  3251.  
  3252.      
  3253.      
  3254.      
  3255.  
  3256.  
  3257.       ;
  3258.  
  3259.       return (std::__copy_move_backward_a2<__is_move_iterator<_BI1>::__value>
  3260.        (std::__miter_base(__first), std::__miter_base(__last),
  3261.         __result));
  3262.     }
  3263. # 669 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3264.   template<typename _ForwardIterator, typename _Tp>
  3265.     inline typename
  3266.     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
  3267.     __fill_a(_ForwardIterator __first, _ForwardIterator __last,
  3268.        const _Tp& __value)
  3269.     {
  3270.       for (; __first != __last; ++__first)
  3271.  *__first = __value;
  3272.     }
  3273.  
  3274.   template<typename _ForwardIterator, typename _Tp>
  3275.     inline typename
  3276.     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
  3277.     __fill_a(_ForwardIterator __first, _ForwardIterator __last,
  3278.       const _Tp& __value)
  3279.     {
  3280.       const _Tp __tmp = __value;
  3281.       for (; __first != __last; ++__first)
  3282.  *__first = __tmp;
  3283.     }
  3284.  
  3285.  
  3286.   template<typename _Tp>
  3287.     inline typename
  3288.     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
  3289.     __fill_a(_Tp* __first, _Tp* __last, const _Tp& __c)
  3290.     {
  3291.       const _Tp __tmp = __c;
  3292.       __builtin_memset(__first, static_cast<unsigned char>(__tmp),
  3293.          __last - __first);
  3294.     }
  3295. # 713 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3296.   template<typename _ForwardIterator, typename _Tp>
  3297.     inline void
  3298.     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
  3299.     {
  3300.  
  3301.      
  3302.  
  3303.       ;
  3304.  
  3305.       std::__fill_a(std::__niter_base(__first), std::__niter_base(__last),
  3306.       __value);
  3307.     }
  3308.  
  3309.   template<typename _OutputIterator, typename _Size, typename _Tp>
  3310.     inline typename
  3311.     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
  3312.     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value)
  3313.     {
  3314.       for (__decltype(__n + 0) __niter = __n;
  3315.     __niter > 0; --__niter, ++__first)
  3316.  *__first = __value;
  3317.       return __first;
  3318.     }
  3319.  
  3320.   template<typename _OutputIterator, typename _Size, typename _Tp>
  3321.     inline typename
  3322.     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
  3323.     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value)
  3324.     {
  3325.       const _Tp __tmp = __value;
  3326.       for (__decltype(__n + 0) __niter = __n;
  3327.     __niter > 0; --__niter, ++__first)
  3328.  *__first = __tmp;
  3329.       return __first;
  3330.     }
  3331.  
  3332.   template<typename _Size, typename _Tp>
  3333.     inline typename
  3334.     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, _Tp*>::__type
  3335.     __fill_n_a(_Tp* __first, _Size __n, const _Tp& __c)
  3336.     {
  3337.       std::__fill_a(__first, __first + __n, __c);
  3338.       return __first + __n;
  3339.     }
  3340. # 773 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3341.   template<typename _OI, typename _Size, typename _Tp>
  3342.     inline _OI
  3343.     fill_n(_OI __first, _Size __n, const _Tp& __value)
  3344.     {
  3345.  
  3346.      
  3347.  
  3348.       return _OI(std::__fill_n_a(std::__niter_base(__first), __n, __value));
  3349.     }
  3350.  
  3351.   template<bool _BoolType>
  3352.     struct __equal
  3353.     {
  3354.       template<typename _II1, typename _II2>
  3355.         static bool
  3356.         equal(_II1 __first1, _II1 __last1, _II2 __first2)
  3357.         {
  3358.    for (; __first1 != __last1; ++__first1, ++__first2)
  3359.      if (!(*__first1 == *__first2))
  3360.        return false;
  3361.    return true;
  3362.  }
  3363.     };
  3364.  
  3365.   template<>
  3366.     struct __equal<true>
  3367.     {
  3368.       template<typename _Tp>
  3369.         static bool
  3370.         equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2)
  3371.         {
  3372.    return !__builtin_memcmp(__first1, __first2, sizeof(_Tp)
  3373.        * (__last1 - __first1));
  3374.  }
  3375.     };
  3376.  
  3377.   template<typename _II1, typename _II2>
  3378.     inline bool
  3379.     __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2)
  3380.     {
  3381.       typedef typename iterator_traits<_II1>::value_type _ValueType1;
  3382.       typedef typename iterator_traits<_II2>::value_type _ValueType2;
  3383.       const bool __simple = ((__is_integer<_ValueType1>::__value
  3384.          || __is_pointer<_ValueType1>::__value)
  3385.                       && __is_pointer<_II1>::__value
  3386.                       && __is_pointer<_II2>::__value
  3387.         && __are_same<_ValueType1, _ValueType2>::__value);
  3388.  
  3389.       return std::__equal<__simple>::equal(__first1, __last1, __first2);
  3390.     }
  3391.  
  3392.  
  3393.   template<typename, typename>
  3394.     struct __lc_rai
  3395.     {
  3396.       template<typename _II1, typename _II2>
  3397.         static _II1
  3398.         __newlast1(_II1, _II1 __last1, _II2, _II2)
  3399.         { return __last1; }
  3400.  
  3401.       template<typename _II>
  3402.         static bool
  3403.         __cnd2(_II __first, _II __last)
  3404.         { return __first != __last; }
  3405.     };
  3406.  
  3407.   template<>
  3408.     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
  3409.     {
  3410.       template<typename _RAI1, typename _RAI2>
  3411.         static _RAI1
  3412.         __newlast1(_RAI1 __first1, _RAI1 __last1,
  3413.      _RAI2 __first2, _RAI2 __last2)
  3414.         {
  3415.    const typename iterator_traits<_RAI1>::difference_type
  3416.      __diff1 = __last1 - __first1;
  3417.    const typename iterator_traits<_RAI2>::difference_type
  3418.      __diff2 = __last2 - __first2;
  3419.    return __diff2 < __diff1 ? __first1 + __diff2 : __last1;
  3420.  }
  3421.  
  3422.       template<typename _RAI>
  3423.         static bool
  3424.         __cnd2(_RAI, _RAI)
  3425.         { return true; }
  3426.     };
  3427.  
  3428.   template<bool _BoolType>
  3429.     struct __lexicographical_compare
  3430.     {
  3431.       template<typename _II1, typename _II2>
  3432.         static bool __lc(_II1, _II1, _II2, _II2);
  3433.     };
  3434.  
  3435.   template<bool _BoolType>
  3436.     template<typename _II1, typename _II2>
  3437.       bool
  3438.       __lexicographical_compare<_BoolType>::
  3439.       __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2)
  3440.       {
  3441.  typedef typename iterator_traits<_II1>::iterator_category _Category1;
  3442.  typedef typename iterator_traits<_II2>::iterator_category _Category2;
  3443.  typedef std::__lc_rai<_Category1, _Category2> __rai_type;
  3444.  
  3445.  __last1 = __rai_type::__newlast1(__first1, __last1,
  3446.       __first2, __last2);
  3447.  for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
  3448.       ++__first1, ++__first2)
  3449.    {
  3450.      if (*__first1 < *__first2)
  3451.        return true;
  3452.      if (*__first2 < *__first1)
  3453.        return false;
  3454.    }
  3455.  return __first1 == __last1 && __first2 != __last2;
  3456.       }
  3457.  
  3458.   template<>
  3459.     struct __lexicographical_compare<true>
  3460.     {
  3461.       template<typename _Tp, typename _Up>
  3462.         static bool
  3463.         __lc(const _Tp* __first1, const _Tp* __last1,
  3464.       const _Up* __first2, const _Up* __last2)
  3465.  {
  3466.    const size_t __len1 = __last1 - __first1;
  3467.    const size_t __len2 = __last2 - __first2;
  3468.    const int __result = __builtin_memcmp(__first1, __first2,
  3469.       std::min(__len1, __len2));
  3470.    return __result != 0 ? __result < 0 : __len1 < __len2;
  3471.  }
  3472.     };
  3473.  
  3474.   template<typename _II1, typename _II2>
  3475.     inline bool
  3476.     __lexicographical_compare_aux(_II1 __first1, _II1 __last1,
  3477.       _II2 __first2, _II2 __last2)
  3478.     {
  3479.       typedef typename iterator_traits<_II1>::value_type _ValueType1;
  3480.       typedef typename iterator_traits<_II2>::value_type _ValueType2;
  3481.       const bool __simple =
  3482.  (__is_byte<_ValueType1>::__value && __is_byte<_ValueType2>::__value
  3483.   && !__gnu_cxx::__numeric_traits<_ValueType1>::__is_signed
  3484.   && !__gnu_cxx::__numeric_traits<_ValueType2>::__is_signed
  3485.   && __is_pointer<_II1>::__value
  3486.   && __is_pointer<_II2>::__value);
  3487.  
  3488.       return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
  3489.            __first2, __last2);
  3490.     }
  3491. # 935 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3492.   template<typename _ForwardIterator, typename _Tp>
  3493.     _ForwardIterator
  3494.     lower_bound(_ForwardIterator __first, _ForwardIterator __last,
  3495.   const _Tp& __val)
  3496.     {
  3497.       typedef typename iterator_traits<_ForwardIterator>::value_type
  3498.  _ValueType;
  3499.       typedef typename iterator_traits<_ForwardIterator>::difference_type
  3500.  _DistanceType;
  3501.  
  3502.  
  3503.      
  3504.      
  3505.       ;
  3506.  
  3507.       _DistanceType __len = std::distance(__first, __last);
  3508.  
  3509.       while (__len > 0)
  3510.  {
  3511.    _DistanceType __half = __len >> 1;
  3512.    _ForwardIterator __middle = __first;
  3513.    std::advance(__middle, __half);
  3514.    if (*__middle < __val)
  3515.      {
  3516.        __first = __middle;
  3517.        ++__first;
  3518.        __len = __len - __half - 1;
  3519.      }
  3520.    else
  3521.      __len = __half;
  3522.  }
  3523.       return __first;
  3524.     }
  3525.  
  3526.  
  3527.  
  3528.   template<typename _Size>
  3529.     inline _Size
  3530.     __lg(_Size __n)
  3531.     {
  3532.       _Size __k;
  3533.       for (__k = 0; __n != 0; __n >>= 1)
  3534.  ++__k;
  3535.       return __k - 1;
  3536.     }
  3537.  
  3538.   inline int
  3539.   __lg(int __n)
  3540.   { return sizeof(int) * 8 - 1 - __builtin_clz(__n); }
  3541.  
  3542.   inline unsigned
  3543.   __lg(unsigned __n)
  3544.   { return sizeof(int) * 8 - 1 - __builtin_clz(__n); }
  3545.  
  3546.   inline long
  3547.   __lg(long __n)
  3548.   { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); }
  3549.  
  3550.   inline unsigned long
  3551.   __lg(unsigned long __n)
  3552.   { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); }
  3553.  
  3554.   inline long long
  3555.   __lg(long long __n)
  3556.   { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); }
  3557.  
  3558.   inline unsigned long long
  3559.   __lg(unsigned long long __n)
  3560.   { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); }
  3561.  
  3562.  
  3563.  
  3564.  
  3565. # 1021 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3566.   template<typename _II1, typename _II2>
  3567.     inline bool
  3568.     equal(_II1 __first1, _II1 __last1, _II2 __first2)
  3569.     {
  3570.  
  3571.      
  3572.      
  3573.      
  3574.  
  3575.  
  3576.       ;
  3577.  
  3578.       return std::__equal_aux(std::__niter_base(__first1),
  3579.          std::__niter_base(__last1),
  3580.          std::__niter_base(__first2));
  3581.     }
  3582. # 1053 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3583.   template<typename _IIter1, typename _IIter2, typename _BinaryPredicate>
  3584.     inline bool
  3585.     equal(_IIter1 __first1, _IIter1 __last1,
  3586.    _IIter2 __first2, _BinaryPredicate __binary_pred)
  3587.     {
  3588.  
  3589.      
  3590.      
  3591.       ;
  3592.  
  3593.       for (; __first1 != __last1; ++__first1, ++__first2)
  3594.  if (!bool(__binary_pred(*__first1, *__first2)))
  3595.    return false;
  3596.       return true;
  3597.     }
  3598. # 1084 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3599.   template<typename _II1, typename _II2>
  3600.     inline bool
  3601.     lexicographical_compare(_II1 __first1, _II1 __last1,
  3602.        _II2 __first2, _II2 __last2)
  3603.     {
  3604.  
  3605.       typedef typename iterator_traits<_II1>::value_type _ValueType1;
  3606.       typedef typename iterator_traits<_II2>::value_type _ValueType2;
  3607.      
  3608.      
  3609.      
  3610.      
  3611.       ;
  3612.       ;
  3613.  
  3614.       return std::__lexicographical_compare_aux(std::__niter_base(__first1),
  3615.       std::__niter_base(__last1),
  3616.       std::__niter_base(__first2),
  3617.       std::__niter_base(__last2));
  3618.     }
  3619. # 1118 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3620.   template<typename _II1, typename _II2, typename _Compare>
  3621.     bool
  3622.     lexicographical_compare(_II1 __first1, _II1 __last1,
  3623.        _II2 __first2, _II2 __last2, _Compare __comp)
  3624.     {
  3625.       typedef typename iterator_traits<_II1>::iterator_category _Category1;
  3626.       typedef typename iterator_traits<_II2>::iterator_category _Category2;
  3627.       typedef std::__lc_rai<_Category1, _Category2> __rai_type;
  3628.  
  3629.  
  3630.      
  3631.      
  3632.       ;
  3633.       ;
  3634.  
  3635.       __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2);
  3636.       for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
  3637.     ++__first1, ++__first2)
  3638.  {
  3639.    if (__comp(*__first1, *__first2))
  3640.      return true;
  3641.    if (__comp(*__first2, *__first1))
  3642.      return false;
  3643.  }
  3644.       return __first1 == __last1 && __first2 != __last2;
  3645.     }
  3646. # 1158 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3647.   template<typename _InputIterator1, typename _InputIterator2>
  3648.     pair<_InputIterator1, _InputIterator2>
  3649.     mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
  3650.       _InputIterator2 __first2)
  3651.     {
  3652.  
  3653.      
  3654.      
  3655.      
  3656.  
  3657.  
  3658.       ;
  3659.  
  3660.       while (__first1 != __last1 && *__first1 == *__first2)
  3661.         {
  3662.    ++__first1;
  3663.    ++__first2;
  3664.         }
  3665.       return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
  3666.     }
  3667. # 1195 "/usr/include/c++/4.7/bits/stl_algobase.h" 3
  3668.   template<typename _InputIterator1, typename _InputIterator2,
  3669.     typename _BinaryPredicate>
  3670.     pair<_InputIterator1, _InputIterator2>
  3671.     mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
  3672.       _InputIterator2 __first2, _BinaryPredicate __binary_pred)
  3673.     {
  3674.  
  3675.      
  3676.      
  3677.       ;
  3678.  
  3679.       while (__first1 != __last1 && bool(__binary_pred(*__first1, *__first2)))
  3680.         {
  3681.    ++__first1;
  3682.    ++__first2;
  3683.         }
  3684.       return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
  3685.     }
  3686.  
  3687.  
  3688. }
  3689. # 42 "/usr/include/c++/4.7/bits/char_traits.h" 2 3
  3690.  
  3691. # 1 "/usr/include/c++/4.7/cwchar" 1 3
  3692. # 41 "/usr/include/c++/4.7/cwchar" 3
  3693.        
  3694. # 42 "/usr/include/c++/4.7/cwchar" 3
  3695.  
  3696.  
  3697.  
  3698.  
  3699. # 1 "/usr/include/wchar.h" 1 3 4
  3700. # 47 "/usr/include/c++/4.7/cwchar" 2 3
  3701. # 44 "/usr/include/c++/4.7/bits/char_traits.h" 2 3
  3702.  
  3703. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  3704. {
  3705.  
  3706. # 59 "/usr/include/c++/4.7/bits/char_traits.h" 3
  3707.   template<typename _CharT>
  3708.     struct _Char_types
  3709.     {
  3710.       typedef unsigned long int_type;
  3711.       typedef std::streampos pos_type;
  3712.       typedef std::streamoff off_type;
  3713.       typedef std::mbstate_t state_type;
  3714.     };
  3715. # 84 "/usr/include/c++/4.7/bits/char_traits.h" 3
  3716.   template<typename _CharT>
  3717.     struct char_traits
  3718.     {
  3719.       typedef _CharT char_type;
  3720.       typedef typename _Char_types<_CharT>::int_type int_type;
  3721.       typedef typename _Char_types<_CharT>::pos_type pos_type;
  3722.       typedef typename _Char_types<_CharT>::off_type off_type;
  3723.       typedef typename _Char_types<_CharT>::state_type state_type;
  3724.  
  3725.       static void
  3726.       assign(char_type& __c1, const char_type& __c2)
  3727.       { __c1 = __c2; }
  3728.  
  3729.       static bool
  3730.       eq(const char_type& __c1, const char_type& __c2)
  3731.       { return __c1 == __c2; }
  3732.  
  3733.       static bool
  3734.       lt(const char_type& __c1, const char_type& __c2)
  3735.       { return __c1 < __c2; }
  3736.  
  3737.       static int
  3738.       compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
  3739.  
  3740.       static std::size_t
  3741.       length(const char_type* __s);
  3742.  
  3743.       static const char_type*
  3744.       find(const char_type* __s, std::size_t __n, const char_type& __a);
  3745.  
  3746.       static char_type*
  3747.       move(char_type* __s1, const char_type* __s2, std::size_t __n);
  3748.  
  3749.       static char_type*
  3750.       copy(char_type* __s1, const char_type* __s2, std::size_t __n);
  3751.  
  3752.       static char_type*
  3753.       assign(char_type* __s, std::size_t __n, char_type __a);
  3754.  
  3755.       static char_type
  3756.       to_char_type(const int_type& __c)
  3757.       { return static_cast<char_type>(__c); }
  3758.  
  3759.       static int_type
  3760.       to_int_type(const char_type& __c)
  3761.       { return static_cast<int_type>(__c); }
  3762.  
  3763.       static bool
  3764.       eq_int_type(const int_type& __c1, const int_type& __c2)
  3765.       { return __c1 == __c2; }
  3766.  
  3767.       static int_type
  3768.       eof()
  3769.       { return static_cast<int_type>(-1); }
  3770.  
  3771.       static int_type
  3772.       not_eof(const int_type& __c)
  3773.       { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
  3774.     };
  3775.  
  3776.   template<typename _CharT>
  3777.     int
  3778.     char_traits<_CharT>::
  3779.     compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
  3780.     {
  3781.       for (std::size_t __i = 0; __i < __n; ++__i)
  3782.  if (lt(__s1[__i], __s2[__i]))
  3783.    return -1;
  3784.  else if (lt(__s2[__i], __s1[__i]))
  3785.    return 1;
  3786.       return 0;
  3787.     }
  3788.  
  3789.   template<typename _CharT>
  3790.     std::size_t
  3791.     char_traits<_CharT>::
  3792.     length(const char_type* __p)
  3793.     {
  3794.       std::size_t __i = 0;
  3795.       while (!eq(__p[__i], char_type()))
  3796.         ++__i;
  3797.       return __i;
  3798.     }
  3799.  
  3800.   template<typename _CharT>
  3801.     const typename char_traits<_CharT>::char_type*
  3802.     char_traits<_CharT>::
  3803.     find(const char_type* __s, std::size_t __n, const char_type& __a)
  3804.     {
  3805.       for (std::size_t __i = 0; __i < __n; ++__i)
  3806.         if (eq(__s[__i], __a))
  3807.           return __s + __i;
  3808.       return 0;
  3809.     }
  3810.  
  3811.   template<typename _CharT>
  3812.     typename char_traits<_CharT>::char_type*
  3813.     char_traits<_CharT>::
  3814.     move(char_type* __s1, const char_type* __s2, std::size_t __n)
  3815.     {
  3816.       return static_cast<_CharT*>(__builtin_memmove(__s1, __s2,
  3817.           __n * sizeof(char_type)));
  3818.     }
  3819.  
  3820.   template<typename _CharT>
  3821.     typename char_traits<_CharT>::char_type*
  3822.     char_traits<_CharT>::
  3823.     copy(char_type* __s1, const char_type* __s2, std::size_t __n)
  3824.     {
  3825.  
  3826.       std::copy(__s2, __s2 + __n, __s1);
  3827.       return __s1;
  3828.     }
  3829.  
  3830.   template<typename _CharT>
  3831.     typename char_traits<_CharT>::char_type*
  3832.     char_traits<_CharT>::
  3833.     assign(char_type* __s, std::size_t __n, char_type __a)
  3834.     {
  3835.  
  3836.       std::fill_n(__s, __n, __a);
  3837.       return __s;
  3838.     }
  3839.  
  3840.  
  3841. }
  3842.  
  3843. namespace std __attribute__ ((__visibility__ ("default")))
  3844. {
  3845.  
  3846. # 228 "/usr/include/c++/4.7/bits/char_traits.h" 3
  3847.   template<class _CharT>
  3848.     struct char_traits : public __gnu_cxx::char_traits<_CharT>
  3849.     { };
  3850.  
  3851.  
  3852.  
  3853.   template<>
  3854.     struct char_traits<char>
  3855.     {
  3856.       typedef char char_type;
  3857.       typedef int int_type;
  3858.       typedef streampos pos_type;
  3859.       typedef streamoff off_type;
  3860.       typedef mbstate_t state_type;
  3861.  
  3862.       static void
  3863.       assign(char_type& __c1, const char_type& __c2)
  3864.       { __c1 = __c2; }
  3865.  
  3866.       static bool
  3867.       eq(const char_type& __c1, const char_type& __c2)
  3868.       { return __c1 == __c2; }
  3869.  
  3870.       static bool
  3871.       lt(const char_type& __c1, const char_type& __c2)
  3872.       { return __c1 < __c2; }
  3873.  
  3874.       static int
  3875.       compare(const char_type* __s1, const char_type* __s2, size_t __n)
  3876.       { return __builtin_memcmp(__s1, __s2, __n); }
  3877.  
  3878.       static size_t
  3879.       length(const char_type* __s)
  3880.       { return __builtin_strlen(__s); }
  3881.  
  3882.       static const char_type*
  3883.       find(const char_type* __s, size_t __n, const char_type& __a)
  3884.       { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); }
  3885.  
  3886.       static char_type*
  3887.       move(char_type* __s1, const char_type* __s2, size_t __n)
  3888.       { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); }
  3889.  
  3890.       static char_type*
  3891.       copy(char_type* __s1, const char_type* __s2, size_t __n)
  3892.       { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); }
  3893.  
  3894.       static char_type*
  3895.       assign(char_type* __s, size_t __n, char_type __a)
  3896.       { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); }
  3897.  
  3898.       static char_type
  3899.       to_char_type(const int_type& __c)
  3900.       { return static_cast<char_type>(__c); }
  3901.  
  3902.  
  3903.  
  3904.       static int_type
  3905.       to_int_type(const char_type& __c)
  3906.       { return static_cast<int_type>(static_cast<unsigned char>(__c)); }
  3907.  
  3908.       static bool
  3909.       eq_int_type(const int_type& __c1, const int_type& __c2)
  3910.       { return __c1 == __c2; }
  3911.  
  3912.       static int_type
  3913.       eof()
  3914.       { return static_cast<int_type>(-1); }
  3915.  
  3916.       static int_type
  3917.       not_eof(const int_type& __c)
  3918.       { return (__c == eof()) ? 0 : __c; }
  3919.   };
  3920.  
  3921.  
  3922.  
  3923.  
  3924.   template<>
  3925.     struct char_traits<wchar_t>
  3926.     {
  3927.       typedef wchar_t char_type;
  3928.       typedef wint_t int_type;
  3929.       typedef streamoff off_type;
  3930.       typedef wstreampos pos_type;
  3931.       typedef mbstate_t state_type;
  3932.  
  3933.       static void
  3934.       assign(char_type& __c1, const char_type& __c2)
  3935.       { __c1 = __c2; }
  3936.  
  3937.       static bool
  3938.       eq(const char_type& __c1, const char_type& __c2)
  3939.       { return __c1 == __c2; }
  3940.  
  3941.       static bool
  3942.       lt(const char_type& __c1, const char_type& __c2)
  3943.       { return __c1 < __c2; }
  3944.  
  3945.       static int
  3946.       compare(const char_type* __s1, const char_type* __s2, size_t __n)
  3947.       { return wmemcmp(__s1, __s2, __n); }
  3948.  
  3949.       static size_t
  3950.       length(const char_type* __s)
  3951.       { return wcslen(__s); }
  3952.  
  3953.       static const char_type*
  3954.       find(const char_type* __s, size_t __n, const char_type& __a)
  3955.       { return wmemchr(__s, __a, __n); }
  3956.  
  3957.       static char_type*
  3958.       move(char_type* __s1, const char_type* __s2, size_t __n)
  3959.       { return wmemmove(__s1, __s2, __n); }
  3960.  
  3961.       static char_type*
  3962.       copy(char_type* __s1, const char_type* __s2, size_t __n)
  3963.       { return wmemcpy(__s1, __s2, __n); }
  3964.  
  3965.       static char_type*
  3966.       assign(char_type* __s, size_t __n, char_type __a)
  3967.       { return wmemset(__s, __a, __n); }
  3968.  
  3969.       static char_type
  3970.       to_char_type(const int_type& __c)
  3971.       { return char_type(__c); }
  3972.  
  3973.       static int_type
  3974.       to_int_type(const char_type& __c)
  3975.       { return int_type(__c); }
  3976.  
  3977.       static bool
  3978.       eq_int_type(const int_type& __c1, const int_type& __c2)
  3979.       { return __c1 == __c2; }
  3980.  
  3981.       static int_type
  3982.       eof()
  3983.       { return static_cast<int_type>((0xffffffffu)); }
  3984.  
  3985.       static int_type
  3986.       not_eof(const int_type& __c)
  3987.       { return eq_int_type(__c, eof()) ? 0 : __c; }
  3988.   };
  3989.  
  3990.  
  3991.  
  3992. }
  3993. # 42 "/usr/include/c++/4.7/ios" 2 3
  3994. # 1 "/usr/include/c++/4.7/bits/localefwd.h" 1 3
  3995. # 39 "/usr/include/c++/4.7/bits/localefwd.h" 3
  3996.        
  3997. # 40 "/usr/include/c++/4.7/bits/localefwd.h" 3
  3998.  
  3999.  
  4000. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++locale.h" 1 3
  4001. # 40 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++locale.h" 3
  4002.        
  4003. # 41 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++locale.h" 3
  4004.  
  4005. # 1 "/usr/include/c++/4.7/clocale" 1 3
  4006. # 41 "/usr/include/c++/4.7/clocale" 3
  4007.        
  4008. # 42 "/usr/include/c++/4.7/clocale" 3
  4009.  
  4010.  
  4011. # 1 "/usr/include/locale.h" 1 3 4
  4012. # 29 "/usr/include/locale.h" 3 4
  4013. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 1 3 4
  4014. # 30 "/usr/include/locale.h" 2 3 4
  4015. # 1 "/usr/include/x86_64-linux-gnu/bits/locale.h" 1 3 4
  4016. # 27 "/usr/include/x86_64-linux-gnu/bits/locale.h" 3 4
  4017. enum
  4018. {
  4019.   __LC_CTYPE = 0,
  4020.   __LC_NUMERIC = 1,
  4021.   __LC_TIME = 2,
  4022.   __LC_COLLATE = 3,
  4023.   __LC_MONETARY = 4,
  4024.   __LC_MESSAGES = 5,
  4025.   __LC_ALL = 6,
  4026.   __LC_PAPER = 7,
  4027.   __LC_NAME = 8,
  4028.   __LC_ADDRESS = 9,
  4029.   __LC_TELEPHONE = 10,
  4030.   __LC_MEASUREMENT = 11,
  4031.   __LC_IDENTIFICATION = 12
  4032. };
  4033. # 31 "/usr/include/locale.h" 2 3 4
  4034.  
  4035. extern "C" {
  4036. # 51 "/usr/include/locale.h" 3 4
  4037.  
  4038.  
  4039.  
  4040. struct lconv
  4041. {
  4042.  
  4043.  
  4044.   char *decimal_point;
  4045.   char *thousands_sep;
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.   char *grouping;
  4052.  
  4053.  
  4054.  
  4055.  
  4056.  
  4057.   char *int_curr_symbol;
  4058.   char *currency_symbol;
  4059.   char *mon_decimal_point;
  4060.   char *mon_thousands_sep;
  4061.   char *mon_grouping;
  4062.   char *positive_sign;
  4063.   char *negative_sign;
  4064.   char int_frac_digits;
  4065.   char frac_digits;
  4066.  
  4067.   char p_cs_precedes;
  4068.  
  4069.   char p_sep_by_space;
  4070.  
  4071.   char n_cs_precedes;
  4072.  
  4073.   char n_sep_by_space;
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.   char p_sign_posn;
  4081.   char n_sign_posn;
  4082.  
  4083.  
  4084.   char int_p_cs_precedes;
  4085.  
  4086.   char int_p_sep_by_space;
  4087.  
  4088.   char int_n_cs_precedes;
  4089.  
  4090.   char int_n_sep_by_space;
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.   char int_p_sign_posn;
  4098.   char int_n_sign_posn;
  4099. # 121 "/usr/include/locale.h" 3 4
  4100. };
  4101.  
  4102.  
  4103.  
  4104. extern char *setlocale (int __category, __const char *__locale) throw ();
  4105.  
  4106.  
  4107. extern struct lconv *localeconv (void) throw ();
  4108.  
  4109.  
  4110. # 152 "/usr/include/locale.h" 3 4
  4111. extern __locale_t newlocale (int __category_mask, __const char *__locale,
  4112.         __locale_t __base) throw ();
  4113. # 187 "/usr/include/locale.h" 3 4
  4114. extern __locale_t duplocale (__locale_t __dataset) throw ();
  4115.  
  4116.  
  4117.  
  4118. extern void freelocale (__locale_t __dataset) throw ();
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125. extern __locale_t uselocale (__locale_t __dataset) throw ();
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133. }
  4134. # 45 "/usr/include/c++/4.7/clocale" 2 3
  4135. # 53 "/usr/include/c++/4.7/clocale" 3
  4136. namespace std
  4137. {
  4138.   using ::lconv;
  4139.   using ::setlocale;
  4140.   using ::localeconv;
  4141. }
  4142. # 43 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++locale.h" 2 3
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  4150. {
  4151.  
  4152.  
  4153.   extern "C" __typeof(uselocale) __uselocale;
  4154.  
  4155.  
  4156. }
  4157.  
  4158.  
  4159. namespace std __attribute__ ((__visibility__ ("default")))
  4160. {
  4161.  
  4162.  
  4163.   typedef __locale_t __c_locale;
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.   inline int
  4170.   __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)),
  4171.      char* __out,
  4172.      const int __size __attribute__ ((__unused__)),
  4173.      const char* __fmt, ...)
  4174.   {
  4175.  
  4176.     __c_locale __old = __gnu_cxx::__uselocale(__cloc);
  4177. # 89 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++locale.h" 3
  4178.     __builtin_va_list __args;
  4179.     __builtin_va_start(__args, __fmt);
  4180.  
  4181.  
  4182.     const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args);
  4183.  
  4184.  
  4185.  
  4186.  
  4187.     __builtin_va_end(__args);
  4188.  
  4189.  
  4190.     __gnu_cxx::__uselocale(__old);
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.     return __ret;
  4199.   }
  4200.  
  4201.  
  4202. }
  4203. # 43 "/usr/include/c++/4.7/bits/localefwd.h" 2 3
  4204.  
  4205. # 1 "/usr/include/c++/4.7/cctype" 1 3
  4206. # 41 "/usr/include/c++/4.7/cctype" 3
  4207.        
  4208. # 42 "/usr/include/c++/4.7/cctype" 3
  4209.  
  4210.  
  4211. # 1 "/usr/include/ctype.h" 1 3 4
  4212. # 28 "/usr/include/ctype.h" 3 4
  4213. # 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
  4214. # 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
  4215. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  4216. # 29 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
  4217.  
  4218.  
  4219. typedef unsigned char __u_char;
  4220. typedef unsigned short int __u_short;
  4221. typedef unsigned int __u_int;
  4222. typedef unsigned long int __u_long;
  4223.  
  4224.  
  4225. typedef signed char __int8_t;
  4226. typedef unsigned char __uint8_t;
  4227. typedef signed short int __int16_t;
  4228. typedef unsigned short int __uint16_t;
  4229. typedef signed int __int32_t;
  4230. typedef unsigned int __uint32_t;
  4231.  
  4232. typedef signed long int __int64_t;
  4233. typedef unsigned long int __uint64_t;
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241. typedef long int __quad_t;
  4242. typedef unsigned long int __u_quad_t;
  4243. # 131 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
  4244. # 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
  4245. # 132 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
  4246.  
  4247.  
  4248. typedef unsigned long int __dev_t;
  4249. typedef unsigned int __uid_t;
  4250. typedef unsigned int __gid_t;
  4251. typedef unsigned long int __ino_t;
  4252. typedef unsigned long int __ino64_t;
  4253. typedef unsigned int __mode_t;
  4254. typedef unsigned long int __nlink_t;
  4255. typedef long int __off_t;
  4256. typedef long int __off64_t;
  4257. typedef int __pid_t;
  4258. typedef struct { int __val[2]; } __fsid_t;
  4259. typedef long int __clock_t;
  4260. typedef unsigned long int __rlim_t;
  4261. typedef unsigned long int __rlim64_t;
  4262. typedef unsigned int __id_t;
  4263. typedef long int __time_t;
  4264. typedef unsigned int __useconds_t;
  4265. typedef long int __suseconds_t;
  4266.  
  4267. typedef int __daddr_t;
  4268. typedef long int __swblk_t;
  4269. typedef int __key_t;
  4270.  
  4271.  
  4272. typedef int __clockid_t;
  4273.  
  4274.  
  4275. typedef void * __timer_t;
  4276.  
  4277.  
  4278. typedef long int __blksize_t;
  4279.  
  4280.  
  4281.  
  4282.  
  4283. typedef long int __blkcnt_t;
  4284. typedef long int __blkcnt64_t;
  4285.  
  4286.  
  4287. typedef unsigned long int __fsblkcnt_t;
  4288. typedef unsigned long int __fsblkcnt64_t;
  4289.  
  4290.  
  4291. typedef unsigned long int __fsfilcnt_t;
  4292. typedef unsigned long int __fsfilcnt64_t;
  4293.  
  4294. typedef long int __ssize_t;
  4295.  
  4296.  
  4297.  
  4298. typedef __off64_t __loff_t;
  4299. typedef __quad_t *__qaddr_t;
  4300. typedef char *__caddr_t;
  4301.  
  4302.  
  4303. typedef long int __intptr_t;
  4304.  
  4305.  
  4306. typedef unsigned int __socklen_t;
  4307. # 29 "/usr/include/ctype.h" 2 3 4
  4308.  
  4309. extern "C" {
  4310. # 41 "/usr/include/ctype.h" 3 4
  4311. # 1 "/usr/include/endian.h" 1 3 4
  4312. # 37 "/usr/include/endian.h" 3 4
  4313. # 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
  4314. # 38 "/usr/include/endian.h" 2 3 4
  4315. # 61 "/usr/include/endian.h" 3 4
  4316. # 1 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 1 3 4
  4317. # 28 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
  4318. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  4319. # 29 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 2 3 4
  4320. # 62 "/usr/include/endian.h" 2 3 4
  4321. # 42 "/usr/include/ctype.h" 2 3 4
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328. enum
  4329. {
  4330.   _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
  4331.   _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
  4332.   _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
  4333.   _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
  4334.   _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
  4335.   _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
  4336.   _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
  4337.   _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
  4338.   _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
  4339.   _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
  4340.   _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
  4341.   _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
  4342. };
  4343. # 81 "/usr/include/ctype.h" 3 4
  4344. extern __const unsigned short int **__ctype_b_loc (void)
  4345.      throw () __attribute__ ((__const));
  4346. extern __const __int32_t **__ctype_tolower_loc (void)
  4347.      throw () __attribute__ ((__const));
  4348. extern __const __int32_t **__ctype_toupper_loc (void)
  4349.      throw () __attribute__ ((__const));
  4350. # 96 "/usr/include/ctype.h" 3 4
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357. extern int isalnum (int) throw ();
  4358. extern int isalpha (int) throw ();
  4359. extern int iscntrl (int) throw ();
  4360. extern int isdigit (int) throw ();
  4361. extern int islower (int) throw ();
  4362. extern int isgraph (int) throw ();
  4363. extern int isprint (int) throw ();
  4364. extern int ispunct (int) throw ();
  4365. extern int isspace (int) throw ();
  4366. extern int isupper (int) throw ();
  4367. extern int isxdigit (int) throw ();
  4368.  
  4369.  
  4370.  
  4371. extern int tolower (int __c) throw ();
  4372.  
  4373.  
  4374. extern int toupper (int __c) throw ();
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383. extern int isblank (int) throw ();
  4384.  
  4385.  
  4386.  
  4387.  
  4388.  
  4389.  
  4390. extern int isctype (int __c, int __mask) throw ();
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397. extern int isascii (int __c) throw ();
  4398.  
  4399.  
  4400.  
  4401. extern int toascii (int __c) throw ();
  4402.  
  4403.  
  4404.  
  4405. extern int _toupper (int) throw ();
  4406. extern int _tolower (int) throw ();
  4407. # 247 "/usr/include/ctype.h" 3 4
  4408. extern int isalnum_l (int, __locale_t) throw ();
  4409. extern int isalpha_l (int, __locale_t) throw ();
  4410. extern int iscntrl_l (int, __locale_t) throw ();
  4411. extern int isdigit_l (int, __locale_t) throw ();
  4412. extern int islower_l (int, __locale_t) throw ();
  4413. extern int isgraph_l (int, __locale_t) throw ();
  4414. extern int isprint_l (int, __locale_t) throw ();
  4415. extern int ispunct_l (int, __locale_t) throw ();
  4416. extern int isspace_l (int, __locale_t) throw ();
  4417. extern int isupper_l (int, __locale_t) throw ();
  4418. extern int isxdigit_l (int, __locale_t) throw ();
  4419.  
  4420. extern int isblank_l (int, __locale_t) throw ();
  4421.  
  4422.  
  4423.  
  4424. extern int __tolower_l (int __c, __locale_t __l) throw ();
  4425. extern int tolower_l (int __c, __locale_t __l) throw ();
  4426.  
  4427.  
  4428. extern int __toupper_l (int __c, __locale_t __l) throw ();
  4429. extern int toupper_l (int __c, __locale_t __l) throw ();
  4430. # 323 "/usr/include/ctype.h" 3 4
  4431. }
  4432. # 45 "/usr/include/c++/4.7/cctype" 2 3
  4433. # 64 "/usr/include/c++/4.7/cctype" 3
  4434. namespace std
  4435. {
  4436.   using ::isalnum;
  4437.   using ::isalpha;
  4438.   using ::iscntrl;
  4439.   using ::isdigit;
  4440.   using ::isgraph;
  4441.   using ::islower;
  4442.   using ::isprint;
  4443.   using ::ispunct;
  4444.   using ::isspace;
  4445.   using ::isupper;
  4446.   using ::isxdigit;
  4447.   using ::tolower;
  4448.   using ::toupper;
  4449. }
  4450. # 45 "/usr/include/c++/4.7/bits/localefwd.h" 2 3
  4451.  
  4452. namespace std __attribute__ ((__visibility__ ("default")))
  4453. {
  4454.  
  4455. # 57 "/usr/include/c++/4.7/bits/localefwd.h" 3
  4456.   class locale;
  4457.  
  4458.   template<typename _Facet>
  4459.     bool
  4460.     has_facet(const locale&) throw();
  4461.  
  4462.   template<typename _Facet>
  4463.     const _Facet&
  4464.     use_facet(const locale&);
  4465.  
  4466.  
  4467.   template<typename _CharT>
  4468.     bool
  4469.     isspace(_CharT, const locale&);
  4470.  
  4471.   template<typename _CharT>
  4472.     bool
  4473.     isprint(_CharT, const locale&);
  4474.  
  4475.   template<typename _CharT>
  4476.     bool
  4477.     iscntrl(_CharT, const locale&);
  4478.  
  4479.   template<typename _CharT>
  4480.     bool
  4481.     isupper(_CharT, const locale&);
  4482.  
  4483.   template<typename _CharT>
  4484.     bool
  4485.     islower(_CharT, const locale&);
  4486.  
  4487.   template<typename _CharT>
  4488.     bool
  4489.     isalpha(_CharT, const locale&);
  4490.  
  4491.   template<typename _CharT>
  4492.     bool
  4493.     isdigit(_CharT, const locale&);
  4494.  
  4495.   template<typename _CharT>
  4496.     bool
  4497.     ispunct(_CharT, const locale&);
  4498.  
  4499.   template<typename _CharT>
  4500.     bool
  4501.     isxdigit(_CharT, const locale&);
  4502.  
  4503.   template<typename _CharT>
  4504.     bool
  4505.     isalnum(_CharT, const locale&);
  4506.  
  4507.   template<typename _CharT>
  4508.     bool
  4509.     isgraph(_CharT, const locale&);
  4510.  
  4511.   template<typename _CharT>
  4512.     _CharT
  4513.     toupper(_CharT, const locale&);
  4514.  
  4515.   template<typename _CharT>
  4516.     _CharT
  4517.     tolower(_CharT, const locale&);
  4518.  
  4519.  
  4520.   class ctype_base;
  4521.   template<typename _CharT>
  4522.     class ctype;
  4523.   template<> class ctype<char>;
  4524.  
  4525.   template<> class ctype<wchar_t>;
  4526.  
  4527.   template<typename _CharT>
  4528.     class ctype_byname;
  4529.  
  4530.  
  4531.   class codecvt_base;
  4532.   template<typename _InternT, typename _ExternT, typename _StateT>
  4533.     class codecvt;
  4534.   template<> class codecvt<char, char, mbstate_t>;
  4535.  
  4536.   template<> class codecvt<wchar_t, char, mbstate_t>;
  4537.  
  4538.   template<typename _InternT, typename _ExternT, typename _StateT>
  4539.     class codecvt_byname;
  4540.  
  4541.  
  4542.  
  4543.   template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
  4544.     class num_get;
  4545.   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
  4546.     class num_put;
  4547.  
  4548.   template<typename _CharT> class numpunct;
  4549.   template<typename _CharT> class numpunct_byname;
  4550.  
  4551.  
  4552.   template<typename _CharT>
  4553.     class collate;
  4554.   template<typename _CharT> class
  4555.     collate_byname;
  4556.  
  4557.  
  4558.   class time_base;
  4559.   template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
  4560.     class time_get;
  4561.   template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
  4562.     class time_get_byname;
  4563.   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
  4564.     class time_put;
  4565.   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
  4566.     class time_put_byname;
  4567.  
  4568.  
  4569.   class money_base;
  4570.  
  4571.   template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
  4572.     class money_get;
  4573.   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
  4574.     class money_put;
  4575.  
  4576.   template<typename _CharT, bool _Intl = false>
  4577.     class moneypunct;
  4578.   template<typename _CharT, bool _Intl = false>
  4579.     class moneypunct_byname;
  4580.  
  4581.  
  4582.   class messages_base;
  4583.   template<typename _CharT>
  4584.     class messages;
  4585.   template<typename _CharT>
  4586.     class messages_byname;
  4587.  
  4588.  
  4589. }
  4590. # 43 "/usr/include/c++/4.7/ios" 2 3
  4591. # 1 "/usr/include/c++/4.7/bits/ios_base.h" 1 3
  4592. # 39 "/usr/include/c++/4.7/bits/ios_base.h" 3
  4593.        
  4594. # 40 "/usr/include/c++/4.7/bits/ios_base.h" 3
  4595.  
  4596. # 1 "/usr/include/c++/4.7/ext/atomicity.h" 1 3
  4597. # 34 "/usr/include/c++/4.7/ext/atomicity.h" 3
  4598. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr.h" 1 3
  4599. # 31 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr.h" 3
  4600. #pragma GCC visibility push(default)
  4601. # 150 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr.h" 3
  4602. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 1 3
  4603. # 41 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  4604. # 1 "/usr/include/pthread.h" 1 3 4
  4605. # 25 "/usr/include/pthread.h" 3 4
  4606. # 1 "/usr/include/sched.h" 1 3 4
  4607. # 30 "/usr/include/sched.h" 3 4
  4608. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 1 3 4
  4609. # 31 "/usr/include/sched.h" 2 3 4
  4610.  
  4611.  
  4612.  
  4613. # 1 "/usr/include/time.h" 1 3 4
  4614. # 74 "/usr/include/time.h" 3 4
  4615.  
  4616.  
  4617. typedef __time_t time_t;
  4618.  
  4619.  
  4620.  
  4621. # 120 "/usr/include/time.h" 3 4
  4622. struct timespec
  4623.   {
  4624.     __time_t tv_sec;
  4625.     long int tv_nsec;
  4626.   };
  4627. # 35 "/usr/include/sched.h" 2 3 4
  4628.  
  4629.  
  4630. typedef __pid_t pid_t;
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636. # 1 "/usr/include/x86_64-linux-gnu/bits/sched.h" 1 3 4
  4637. # 74 "/usr/include/x86_64-linux-gnu/bits/sched.h" 3 4
  4638. struct sched_param
  4639.   {
  4640.     int __sched_priority;
  4641.   };
  4642.  
  4643. extern "C" {
  4644.  
  4645.  
  4646.  
  4647. extern int clone (int (*__fn) (void *__arg), void *__child_stack,
  4648.     int __flags, void *__arg, ...) throw ();
  4649.  
  4650.  
  4651. extern int unshare (int __flags) throw ();
  4652.  
  4653.  
  4654. extern int sched_getcpu (void) throw ();
  4655.  
  4656.  
  4657. }
  4658.  
  4659.  
  4660.  
  4661.  
  4662.  
  4663.  
  4664.  
  4665. struct __sched_param
  4666.   {
  4667.     int __sched_priority;
  4668.   };
  4669. # 116 "/usr/include/x86_64-linux-gnu/bits/sched.h" 3 4
  4670. typedef unsigned long int __cpu_mask;
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677. typedef struct
  4678. {
  4679.   __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
  4680. } cpu_set_t;
  4681. # 199 "/usr/include/x86_64-linux-gnu/bits/sched.h" 3 4
  4682. extern "C" {
  4683.  
  4684. extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
  4685.   throw ();
  4686. extern cpu_set_t *__sched_cpualloc (size_t __count) throw () ;
  4687. extern void __sched_cpufree (cpu_set_t *__set) throw ();
  4688.  
  4689. }
  4690. # 44 "/usr/include/sched.h" 2 3 4
  4691.  
  4692.  
  4693.  
  4694.  
  4695. extern "C" {
  4696.  
  4697.  
  4698. extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
  4699.      throw ();
  4700.  
  4701.  
  4702. extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw ();
  4703.  
  4704.  
  4705. extern int sched_setscheduler (__pid_t __pid, int __policy,
  4706.           __const struct sched_param *__param) throw ();
  4707.  
  4708.  
  4709. extern int sched_getscheduler (__pid_t __pid) throw ();
  4710.  
  4711.  
  4712. extern int sched_yield (void) throw ();
  4713.  
  4714.  
  4715. extern int sched_get_priority_max (int __algorithm) throw ();
  4716.  
  4717.  
  4718. extern int sched_get_priority_min (int __algorithm) throw ();
  4719.  
  4720.  
  4721. extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw ();
  4722. # 118 "/usr/include/sched.h" 3 4
  4723. extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
  4724.          __const cpu_set_t *__cpuset) throw ();
  4725.  
  4726.  
  4727. extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
  4728.          cpu_set_t *__cpuset) throw ();
  4729.  
  4730.  
  4731. }
  4732. # 26 "/usr/include/pthread.h" 2 3 4
  4733. # 1 "/usr/include/time.h" 1 3 4
  4734. # 30 "/usr/include/time.h" 3 4
  4735. extern "C" {
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h" 1 3 4
  4744. # 39 "/usr/include/time.h" 2 3 4
  4745.  
  4746.  
  4747.  
  4748. # 1 "/usr/include/x86_64-linux-gnu/bits/time.h" 1 3 4
  4749. # 43 "/usr/include/time.h" 2 3 4
  4750. # 58 "/usr/include/time.h" 3 4
  4751.  
  4752.  
  4753. typedef __clock_t clock_t;
  4754.  
  4755.  
  4756.  
  4757. # 92 "/usr/include/time.h" 3 4
  4758. typedef __clockid_t clockid_t;
  4759. # 104 "/usr/include/time.h" 3 4
  4760. typedef __timer_t timer_t;
  4761. # 131 "/usr/include/time.h" 3 4
  4762.  
  4763.  
  4764. struct tm
  4765. {
  4766.   int tm_sec;
  4767.   int tm_min;
  4768.   int tm_hour;
  4769.   int tm_mday;
  4770.   int tm_mon;
  4771.   int tm_year;
  4772.   int tm_wday;
  4773.   int tm_yday;
  4774.   int tm_isdst;
  4775.  
  4776.  
  4777.   long int tm_gmtoff;
  4778.   __const char *tm_zone;
  4779.  
  4780.  
  4781.  
  4782.  
  4783. };
  4784.  
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  
  4791.  
  4792. struct itimerspec
  4793.   {
  4794.     struct timespec it_interval;
  4795.     struct timespec it_value;
  4796.   };
  4797.  
  4798.  
  4799. struct sigevent;
  4800. # 180 "/usr/include/time.h" 3 4
  4801.  
  4802.  
  4803.  
  4804. extern clock_t clock (void) throw ();
  4805.  
  4806.  
  4807. extern time_t time (time_t *__timer) throw ();
  4808.  
  4809.  
  4810. extern double difftime (time_t __time1, time_t __time0)
  4811.      throw () __attribute__ ((__const__));
  4812.  
  4813.  
  4814. extern time_t mktime (struct tm *__tp) throw ();
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820. extern size_t strftime (char *__restrict __s, size_t __maxsize,
  4821.    __const char *__restrict __format,
  4822.    __const struct tm *__restrict __tp) throw ();
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828. extern char *strptime (__const char *__restrict __s,
  4829.          __const char *__restrict __fmt, struct tm *__tp)
  4830.      throw ();
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838. extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
  4839.      __const char *__restrict __format,
  4840.      __const struct tm *__restrict __tp,
  4841.      __locale_t __loc) throw ();
  4842.  
  4843.  
  4844.  
  4845. extern char *strptime_l (__const char *__restrict __s,
  4846.     __const char *__restrict __fmt, struct tm *__tp,
  4847.     __locale_t __loc) throw ();
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  
  4853.  
  4854. extern struct tm *gmtime (__const time_t *__timer) throw ();
  4855.  
  4856.  
  4857.  
  4858. extern struct tm *localtime (__const time_t *__timer) throw ();
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864. extern struct tm *gmtime_r (__const time_t *__restrict __timer,
  4865.        struct tm *__restrict __tp) throw ();
  4866.  
  4867.  
  4868.  
  4869. extern struct tm *localtime_r (__const time_t *__restrict __timer,
  4870.           struct tm *__restrict __tp) throw ();
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876. extern char *asctime (__const struct tm *__tp) throw ();
  4877.  
  4878.  
  4879. extern char *ctime (__const time_t *__timer) throw ();
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887. extern char *asctime_r (__const struct tm *__restrict __tp,
  4888.    char *__restrict __buf) throw ();
  4889.  
  4890.  
  4891. extern char *ctime_r (__const time_t *__restrict __timer,
  4892.         char *__restrict __buf) throw ();
  4893.  
  4894.  
  4895.  
  4896.  
  4897. extern char *__tzname[2];
  4898. extern int __daylight;
  4899. extern long int __timezone;
  4900.  
  4901.  
  4902.  
  4903.  
  4904. extern char *tzname[2];
  4905.  
  4906.  
  4907.  
  4908. extern void tzset (void) throw ();
  4909.  
  4910.  
  4911.  
  4912. extern int daylight;
  4913. extern long int timezone;
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919. extern int stime (__const time_t *__when) throw ();
  4920. # 313 "/usr/include/time.h" 3 4
  4921. extern time_t timegm (struct tm *__tp) throw ();
  4922.  
  4923.  
  4924. extern time_t timelocal (struct tm *__tp) throw ();
  4925.  
  4926.  
  4927. extern int dysize (int __year) throw () __attribute__ ((__const__));
  4928. # 328 "/usr/include/time.h" 3 4
  4929. extern int nanosleep (__const struct timespec *__requested_time,
  4930.         struct timespec *__remaining);
  4931.  
  4932.  
  4933.  
  4934. extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw ();
  4935.  
  4936.  
  4937. extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw ();
  4938.  
  4939.  
  4940. extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
  4941.      throw ();
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948. extern int clock_nanosleep (clockid_t __clock_id, int __flags,
  4949.        __const struct timespec *__req,
  4950.        struct timespec *__rem);
  4951.  
  4952.  
  4953. extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw ();
  4954.  
  4955.  
  4956.  
  4957.  
  4958. extern int timer_create (clockid_t __clock_id,
  4959.     struct sigevent *__restrict __evp,
  4960.     timer_t *__restrict __timerid) throw ();
  4961.  
  4962.  
  4963. extern int timer_delete (timer_t __timerid) throw ();
  4964.  
  4965.  
  4966. extern int timer_settime (timer_t __timerid, int __flags,
  4967.      __const struct itimerspec *__restrict __value,
  4968.      struct itimerspec *__restrict __ovalue) throw ();
  4969.  
  4970.  
  4971. extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
  4972.      throw ();
  4973.  
  4974.  
  4975. extern int timer_getoverrun (timer_t __timerid) throw ();
  4976. # 390 "/usr/include/time.h" 3 4
  4977. extern int getdate_err;
  4978. # 399 "/usr/include/time.h" 3 4
  4979. extern struct tm *getdate (__const char *__string);
  4980. # 413 "/usr/include/time.h" 3 4
  4981. extern int getdate_r (__const char *__restrict __string,
  4982.         struct tm *__restrict __resbufp);
  4983.  
  4984.  
  4985. }
  4986. # 27 "/usr/include/pthread.h" 2 3 4
  4987.  
  4988. # 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 1 3 4
  4989. # 23 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
  4990. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  4991. # 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
  4992. # 50 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
  4993. typedef unsigned long int pthread_t;
  4994.  
  4995.  
  4996. typedef union
  4997. {
  4998.   char __size[56];
  4999.   long int __align;
  5000. } pthread_attr_t;
  5001.  
  5002.  
  5003.  
  5004. typedef struct __pthread_internal_list
  5005. {
  5006.   struct __pthread_internal_list *__prev;
  5007.   struct __pthread_internal_list *__next;
  5008. } __pthread_list_t;
  5009. # 76 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
  5010. typedef union
  5011. {
  5012.   struct __pthread_mutex_s
  5013.   {
  5014.     int __lock;
  5015.     unsigned int __count;
  5016.     int __owner;
  5017.  
  5018.     unsigned int __nusers;
  5019.  
  5020.  
  5021.  
  5022.     int __kind;
  5023.  
  5024.     int __spins;
  5025.     __pthread_list_t __list;
  5026. # 101 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
  5027.   } __data;
  5028.   char __size[40];
  5029.   long int __align;
  5030. } pthread_mutex_t;
  5031.  
  5032. typedef union
  5033. {
  5034.   char __size[4];
  5035.   int __align;
  5036. } pthread_mutexattr_t;
  5037.  
  5038.  
  5039.  
  5040.  
  5041. typedef union
  5042. {
  5043.   struct
  5044.   {
  5045.     int __lock;
  5046.     unsigned int __futex;
  5047.     __extension__ unsigned long long int __total_seq;
  5048.     __extension__ unsigned long long int __wakeup_seq;
  5049.     __extension__ unsigned long long int __woken_seq;
  5050.     void *__mutex;
  5051.     unsigned int __nwaiters;
  5052.     unsigned int __broadcast_seq;
  5053.   } __data;
  5054.   char __size[48];
  5055.   __extension__ long long int __align;
  5056. } pthread_cond_t;
  5057.  
  5058. typedef union
  5059. {
  5060.   char __size[4];
  5061.   int __align;
  5062. } pthread_condattr_t;
  5063.  
  5064.  
  5065.  
  5066. typedef unsigned int pthread_key_t;
  5067.  
  5068.  
  5069.  
  5070. typedef int pthread_once_t;
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076. typedef union
  5077. {
  5078.  
  5079.   struct
  5080.   {
  5081.     int __lock;
  5082.     unsigned int __nr_readers;
  5083.     unsigned int __readers_wakeup;
  5084.     unsigned int __writer_wakeup;
  5085.     unsigned int __nr_readers_queued;
  5086.     unsigned int __nr_writers_queued;
  5087.     int __writer;
  5088.     int __shared;
  5089.     unsigned long int __pad1;
  5090.     unsigned long int __pad2;
  5091.  
  5092.  
  5093.     unsigned int __flags;
  5094.   } __data;
  5095. # 187 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
  5096.   char __size[56];
  5097.   long int __align;
  5098. } pthread_rwlock_t;
  5099.  
  5100. typedef union
  5101. {
  5102.   char __size[8];
  5103.   long int __align;
  5104. } pthread_rwlockattr_t;
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110. typedef volatile int pthread_spinlock_t;
  5111.  
  5112.  
  5113.  
  5114.  
  5115. typedef union
  5116. {
  5117.   char __size[32];
  5118.   long int __align;
  5119. } pthread_barrier_t;
  5120.  
  5121. typedef union
  5122. {
  5123.   char __size[4];
  5124.   int __align;
  5125. } pthread_barrierattr_t;
  5126. # 29 "/usr/include/pthread.h" 2 3 4
  5127. # 1 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 1 3 4
  5128. # 27 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 3 4
  5129. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  5130. # 28 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 2 3 4
  5131.  
  5132.  
  5133.  
  5134.  
  5135. typedef long int __jmp_buf[8];
  5136. # 30 "/usr/include/pthread.h" 2 3 4
  5137. # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
  5138. # 31 "/usr/include/pthread.h" 2 3 4
  5139.  
  5140.  
  5141.  
  5142. enum
  5143. {
  5144.   PTHREAD_CREATE_JOINABLE,
  5145.  
  5146.   PTHREAD_CREATE_DETACHED
  5147.  
  5148. };
  5149.  
  5150.  
  5151.  
  5152. enum
  5153. {
  5154.   PTHREAD_MUTEX_TIMED_NP,
  5155.   PTHREAD_MUTEX_RECURSIVE_NP,
  5156.   PTHREAD_MUTEX_ERRORCHECK_NP,
  5157.   PTHREAD_MUTEX_ADAPTIVE_NP
  5158.  
  5159.   ,
  5160.   PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
  5161.   PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
  5162.   PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
  5163.   PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
  5164.  
  5165.  
  5166.  
  5167.   , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
  5168.  
  5169. };
  5170.  
  5171.  
  5172.  
  5173.  
  5174. enum
  5175. {
  5176.   PTHREAD_MUTEX_STALLED,
  5177.   PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
  5178.   PTHREAD_MUTEX_ROBUST,
  5179.   PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
  5180. };
  5181.  
  5182.  
  5183.  
  5184.  
  5185.  
  5186. enum
  5187. {
  5188.   PTHREAD_PRIO_NONE,
  5189.   PTHREAD_PRIO_INHERIT,
  5190.   PTHREAD_PRIO_PROTECT
  5191. };
  5192. # 115 "/usr/include/pthread.h" 3 4
  5193. enum
  5194. {
  5195.   PTHREAD_RWLOCK_PREFER_READER_NP,
  5196.   PTHREAD_RWLOCK_PREFER_WRITER_NP,
  5197.   PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
  5198.   PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
  5199. };
  5200. # 147 "/usr/include/pthread.h" 3 4
  5201. enum
  5202. {
  5203.   PTHREAD_INHERIT_SCHED,
  5204.  
  5205.   PTHREAD_EXPLICIT_SCHED
  5206.  
  5207. };
  5208.  
  5209.  
  5210.  
  5211. enum
  5212. {
  5213.   PTHREAD_SCOPE_SYSTEM,
  5214.  
  5215.   PTHREAD_SCOPE_PROCESS
  5216.  
  5217. };
  5218.  
  5219.  
  5220.  
  5221. enum
  5222. {
  5223.   PTHREAD_PROCESS_PRIVATE,
  5224.  
  5225.   PTHREAD_PROCESS_SHARED
  5226.  
  5227. };
  5228. # 182 "/usr/include/pthread.h" 3 4
  5229. struct _pthread_cleanup_buffer
  5230. {
  5231.   void (*__routine) (void *);
  5232.   void *__arg;
  5233.   int __canceltype;
  5234.   struct _pthread_cleanup_buffer *__prev;
  5235. };
  5236.  
  5237.  
  5238. enum
  5239. {
  5240.   PTHREAD_CANCEL_ENABLE,
  5241.  
  5242.   PTHREAD_CANCEL_DISABLE
  5243.  
  5244. };
  5245. enum
  5246. {
  5247.   PTHREAD_CANCEL_DEFERRED,
  5248.  
  5249.   PTHREAD_CANCEL_ASYNCHRONOUS
  5250.  
  5251. };
  5252. # 220 "/usr/include/pthread.h" 3 4
  5253. extern "C" {
  5254.  
  5255.  
  5256.  
  5257.  
  5258. extern int pthread_create (pthread_t *__restrict __newthread,
  5259.       __const pthread_attr_t *__restrict __attr,
  5260.       void *(*__start_routine) (void *),
  5261.       void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3)));
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267. extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275. extern int pthread_join (pthread_t __th, void **__thread_return);
  5276.  
  5277.  
  5278.  
  5279.  
  5280. extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw ();
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288. extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
  5289.      __const struct timespec *__abstime);
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  
  5296. extern int pthread_detach (pthread_t __th) throw ();
  5297.  
  5298.  
  5299.  
  5300. extern pthread_t pthread_self (void) throw () __attribute__ ((__const__));
  5301.  
  5302.  
  5303. extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw ();
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.  
  5310.  
  5311. extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1)));
  5312.  
  5313.  
  5314. extern int pthread_attr_destroy (pthread_attr_t *__attr)
  5315.      throw () __attribute__ ((__nonnull__ (1)));
  5316.  
  5317.  
  5318. extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
  5319.      int *__detachstate)
  5320.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5321.  
  5322.  
  5323. extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
  5324.      int __detachstate)
  5325.      throw () __attribute__ ((__nonnull__ (1)));
  5326.  
  5327.  
  5328.  
  5329. extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
  5330.           size_t *__guardsize)
  5331.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5332.  
  5333.  
  5334. extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
  5335.           size_t __guardsize)
  5336.      throw () __attribute__ ((__nonnull__ (1)));
  5337.  
  5338.  
  5339.  
  5340. extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
  5341.            __attr,
  5342.            struct sched_param *__restrict __param)
  5343.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5344.  
  5345.  
  5346. extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
  5347.            __const struct sched_param *__restrict
  5348.            __param) throw () __attribute__ ((__nonnull__ (1, 2)));
  5349.  
  5350.  
  5351. extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
  5352.      __attr, int *__restrict __policy)
  5353.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5354.  
  5355.  
  5356. extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
  5357.      throw () __attribute__ ((__nonnull__ (1)));
  5358.  
  5359.  
  5360. extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
  5361.       __attr, int *__restrict __inherit)
  5362.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5363.  
  5364.  
  5365. extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
  5366.       int __inherit)
  5367.      throw () __attribute__ ((__nonnull__ (1)));
  5368.  
  5369.  
  5370.  
  5371. extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
  5372.       int *__restrict __scope)
  5373.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5374.  
  5375.  
  5376. extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
  5377.      throw () __attribute__ ((__nonnull__ (1)));
  5378.  
  5379.  
  5380. extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
  5381.           __attr, void **__restrict __stackaddr)
  5382.      throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388. extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
  5389.           void *__stackaddr)
  5390.      throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
  5391.  
  5392.  
  5393. extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
  5394.           __attr, size_t *__restrict __stacksize)
  5395.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5396.  
  5397.  
  5398.  
  5399.  
  5400. extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
  5401.           size_t __stacksize)
  5402.      throw () __attribute__ ((__nonnull__ (1)));
  5403.  
  5404.  
  5405.  
  5406. extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
  5407.       void **__restrict __stackaddr,
  5408.       size_t *__restrict __stacksize)
  5409.      throw () __attribute__ ((__nonnull__ (1, 2, 3)));
  5410.  
  5411.  
  5412.  
  5413.  
  5414. extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
  5415.       size_t __stacksize) throw () __attribute__ ((__nonnull__ (1)));
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421. extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
  5422.      size_t __cpusetsize,
  5423.      __const cpu_set_t *__cpuset)
  5424.      throw () __attribute__ ((__nonnull__ (1, 3)));
  5425.  
  5426.  
  5427.  
  5428. extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
  5429.      size_t __cpusetsize,
  5430.      cpu_set_t *__cpuset)
  5431.      throw () __attribute__ ((__nonnull__ (1, 3)));
  5432.  
  5433.  
  5434.  
  5435.  
  5436.  
  5437. extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
  5438.      throw () __attribute__ ((__nonnull__ (2)));
  5439.  
  5440.  
  5441.  
  5442.  
  5443.  
  5444.  
  5445.  
  5446. extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
  5447.       __const struct sched_param *__param)
  5448.      throw () __attribute__ ((__nonnull__ (3)));
  5449.  
  5450.  
  5451. extern int pthread_getschedparam (pthread_t __target_thread,
  5452.       int *__restrict __policy,
  5453.       struct sched_param *__restrict __param)
  5454.      throw () __attribute__ ((__nonnull__ (2, 3)));
  5455.  
  5456.  
  5457. extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
  5458.      throw ();
  5459.  
  5460.  
  5461.  
  5462.  
  5463. extern int pthread_getname_np (pthread_t __target_thread, char *__buf,
  5464.           size_t __buflen)
  5465.      throw () __attribute__ ((__nonnull__ (2)));
  5466.  
  5467.  
  5468. extern int pthread_setname_np (pthread_t __target_thread, __const char *__name)
  5469.      throw () __attribute__ ((__nonnull__ (2)));
  5470.  
  5471.  
  5472.  
  5473.  
  5474.  
  5475. extern int pthread_getconcurrency (void) throw ();
  5476.  
  5477.  
  5478. extern int pthread_setconcurrency (int __level) throw ();
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486. extern int pthread_yield (void) throw ();
  5487.  
  5488.  
  5489.  
  5490.  
  5491. extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
  5492.        __const cpu_set_t *__cpuset)
  5493.      throw () __attribute__ ((__nonnull__ (3)));
  5494.  
  5495.  
  5496. extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
  5497.        cpu_set_t *__cpuset)
  5498.      throw () __attribute__ ((__nonnull__ (3)));
  5499. # 478 "/usr/include/pthread.h" 3 4
  5500. extern int pthread_once (pthread_once_t *__once_control,
  5501.     void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
  5502. # 490 "/usr/include/pthread.h" 3 4
  5503. extern int pthread_setcancelstate (int __state, int *__oldstate);
  5504.  
  5505.  
  5506.  
  5507. extern int pthread_setcanceltype (int __type, int *__oldtype);
  5508.  
  5509.  
  5510. extern int pthread_cancel (pthread_t __th);
  5511.  
  5512.  
  5513.  
  5514.  
  5515. extern void pthread_testcancel (void);
  5516.  
  5517.  
  5518.  
  5519.  
  5520. typedef struct
  5521. {
  5522.   struct
  5523.   {
  5524.     __jmp_buf __cancel_jmp_buf;
  5525.     int __mask_was_saved;
  5526.   } __cancel_jmp_buf[1];
  5527.   void *__pad[4];
  5528. } __pthread_unwind_buf_t __attribute__ ((__aligned__));
  5529. # 524 "/usr/include/pthread.h" 3 4
  5530. struct __pthread_cleanup_frame
  5531. {
  5532.   void (*__cancel_routine) (void *);
  5533.   void *__cancel_arg;
  5534.   int __do_it;
  5535.   int __cancel_type;
  5536. };
  5537.  
  5538.  
  5539.  
  5540.  
  5541. class __pthread_cleanup_class
  5542. {
  5543.   void (*__cancel_routine) (void *);
  5544.   void *__cancel_arg;
  5545.   int __do_it;
  5546.   int __cancel_type;
  5547.  
  5548.  public:
  5549.   __pthread_cleanup_class (void (*__fct) (void *), void *__arg)
  5550.     : __cancel_routine (__fct), __cancel_arg (__arg), __do_it (1) { }
  5551.   ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); }
  5552.   void __setdoit (int __newval) { __do_it = __newval; }
  5553.   void __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED,
  5554.         &__cancel_type); }
  5555.   void __restore () const { pthread_setcanceltype (__cancel_type, 0); }
  5556. };
  5557. # 726 "/usr/include/pthread.h" 3 4
  5558. struct __jmp_buf_tag;
  5559. extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw ();
  5560.  
  5561.  
  5562.  
  5563.  
  5564.  
  5565. extern int pthread_mutex_init (pthread_mutex_t *__mutex,
  5566.           __const pthread_mutexattr_t *__mutexattr)
  5567.      throw () __attribute__ ((__nonnull__ (1)));
  5568.  
  5569.  
  5570. extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
  5571.      throw () __attribute__ ((__nonnull__ (1)));
  5572.  
  5573.  
  5574. extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
  5575.      throw () __attribute__ ((__nonnull__ (1)));
  5576.  
  5577.  
  5578. extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
  5579.      throw () __attribute__ ((__nonnull__ (1)));
  5580.  
  5581.  
  5582.  
  5583. extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
  5584.         __const struct timespec *__restrict
  5585.         __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
  5586.  
  5587.  
  5588.  
  5589. extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
  5590.      throw () __attribute__ ((__nonnull__ (1)));
  5591.  
  5592.  
  5593.  
  5594. extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
  5595.       __restrict __mutex,
  5596.       int *__restrict __prioceiling)
  5597.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5598.  
  5599.  
  5600.  
  5601. extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
  5602.       int __prioceiling,
  5603.       int *__restrict __old_ceiling)
  5604.      throw () __attribute__ ((__nonnull__ (1, 3)));
  5605.  
  5606.  
  5607.  
  5608.  
  5609. extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
  5610.      throw () __attribute__ ((__nonnull__ (1)));
  5611.  
  5612. extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
  5613.      throw () __attribute__ ((__nonnull__ (1)));
  5614. # 790 "/usr/include/pthread.h" 3 4
  5615. extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
  5616.      throw () __attribute__ ((__nonnull__ (1)));
  5617.  
  5618.  
  5619. extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
  5620.      throw () __attribute__ ((__nonnull__ (1)));
  5621.  
  5622.  
  5623. extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
  5624.       __restrict __attr,
  5625.       int *__restrict __pshared)
  5626.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5627.  
  5628.  
  5629. extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
  5630.       int __pshared)
  5631.      throw () __attribute__ ((__nonnull__ (1)));
  5632.  
  5633.  
  5634.  
  5635. extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
  5636.           __attr, int *__restrict __kind)
  5637.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5638.  
  5639.  
  5640.  
  5641.  
  5642. extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
  5643.      throw () __attribute__ ((__nonnull__ (1)));
  5644.  
  5645.  
  5646.  
  5647. extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
  5648.        __restrict __attr,
  5649.        int *__restrict __protocol)
  5650.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5651.  
  5652.  
  5653.  
  5654. extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
  5655.        int __protocol)
  5656.      throw () __attribute__ ((__nonnull__ (1)));
  5657.  
  5658.  
  5659. extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
  5660.           __restrict __attr,
  5661.           int *__restrict __prioceiling)
  5662.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5663.  
  5664.  
  5665. extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
  5666.           int __prioceiling)
  5667.      throw () __attribute__ ((__nonnull__ (1)));
  5668.  
  5669.  
  5670.  
  5671. extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr,
  5672.      int *__robustness)
  5673.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5674.  
  5675. extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
  5676.         int *__robustness)
  5677.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5678.  
  5679.  
  5680.  
  5681. extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
  5682.      int __robustness)
  5683.      throw () __attribute__ ((__nonnull__ (1)));
  5684.  
  5685. extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
  5686.         int __robustness)
  5687.      throw () __attribute__ ((__nonnull__ (1)));
  5688. # 872 "/usr/include/pthread.h" 3 4
  5689. extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
  5690.     __const pthread_rwlockattr_t *__restrict
  5691.     __attr) throw () __attribute__ ((__nonnull__ (1)));
  5692.  
  5693.  
  5694. extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
  5695.      throw () __attribute__ ((__nonnull__ (1)));
  5696.  
  5697.  
  5698. extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
  5699.      throw () __attribute__ ((__nonnull__ (1)));
  5700.  
  5701.  
  5702. extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
  5703.   throw () __attribute__ ((__nonnull__ (1)));
  5704.  
  5705.  
  5706.  
  5707. extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
  5708.            __const struct timespec *__restrict
  5709.            __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
  5710.  
  5711.  
  5712.  
  5713. extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
  5714.      throw () __attribute__ ((__nonnull__ (1)));
  5715.  
  5716.  
  5717. extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
  5718.      throw () __attribute__ ((__nonnull__ (1)));
  5719.  
  5720.  
  5721.  
  5722. extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
  5723.            __const struct timespec *__restrict
  5724.            __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
  5725.  
  5726.  
  5727.  
  5728. extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
  5729.      throw () __attribute__ ((__nonnull__ (1)));
  5730.  
  5731.  
  5732.  
  5733.  
  5734.  
  5735. extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
  5736.      throw () __attribute__ ((__nonnull__ (1)));
  5737.  
  5738.  
  5739. extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
  5740.      throw () __attribute__ ((__nonnull__ (1)));
  5741.  
  5742.  
  5743. extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
  5744.        __restrict __attr,
  5745.        int *__restrict __pshared)
  5746.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5747.  
  5748.  
  5749. extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
  5750.        int __pshared)
  5751.      throw () __attribute__ ((__nonnull__ (1)));
  5752.  
  5753.  
  5754. extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
  5755.        __restrict __attr,
  5756.        int *__restrict __pref)
  5757.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5758.  
  5759.  
  5760. extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
  5761.        int __pref) throw () __attribute__ ((__nonnull__ (1)));
  5762.  
  5763.  
  5764.  
  5765.  
  5766.  
  5767.  
  5768.  
  5769. extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
  5770.          __const pthread_condattr_t *__restrict
  5771.          __cond_attr) throw () __attribute__ ((__nonnull__ (1)));
  5772.  
  5773.  
  5774. extern int pthread_cond_destroy (pthread_cond_t *__cond)
  5775.      throw () __attribute__ ((__nonnull__ (1)));
  5776.  
  5777.  
  5778. extern int pthread_cond_signal (pthread_cond_t *__cond)
  5779.      throw () __attribute__ ((__nonnull__ (1)));
  5780.  
  5781.  
  5782. extern int pthread_cond_broadcast (pthread_cond_t *__cond)
  5783.      throw () __attribute__ ((__nonnull__ (1)));
  5784.  
  5785.  
  5786.  
  5787.  
  5788.  
  5789.  
  5790. extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
  5791.          pthread_mutex_t *__restrict __mutex)
  5792.      __attribute__ ((__nonnull__ (1, 2)));
  5793. # 984 "/usr/include/pthread.h" 3 4
  5794. extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
  5795.        pthread_mutex_t *__restrict __mutex,
  5796.        __const struct timespec *__restrict
  5797.        __abstime) __attribute__ ((__nonnull__ (1, 2, 3)));
  5798.  
  5799.  
  5800.  
  5801.  
  5802. extern int pthread_condattr_init (pthread_condattr_t *__attr)
  5803.      throw () __attribute__ ((__nonnull__ (1)));
  5804.  
  5805.  
  5806. extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
  5807.      throw () __attribute__ ((__nonnull__ (1)));
  5808.  
  5809.  
  5810. extern int pthread_condattr_getpshared (__const pthread_condattr_t *
  5811.      __restrict __attr,
  5812.      int *__restrict __pshared)
  5813.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5814.  
  5815.  
  5816. extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
  5817.      int __pshared) throw () __attribute__ ((__nonnull__ (1)));
  5818.  
  5819.  
  5820.  
  5821. extern int pthread_condattr_getclock (__const pthread_condattr_t *
  5822.           __restrict __attr,
  5823.           __clockid_t *__restrict __clock_id)
  5824.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5825.  
  5826.  
  5827. extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
  5828.           __clockid_t __clock_id)
  5829.      throw () __attribute__ ((__nonnull__ (1)));
  5830. # 1028 "/usr/include/pthread.h" 3 4
  5831. extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
  5832.      throw () __attribute__ ((__nonnull__ (1)));
  5833.  
  5834.  
  5835. extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
  5836.      throw () __attribute__ ((__nonnull__ (1)));
  5837.  
  5838.  
  5839. extern int pthread_spin_lock (pthread_spinlock_t *__lock)
  5840.      throw () __attribute__ ((__nonnull__ (1)));
  5841.  
  5842.  
  5843. extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
  5844.      throw () __attribute__ ((__nonnull__ (1)));
  5845.  
  5846.  
  5847. extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
  5848.      throw () __attribute__ ((__nonnull__ (1)));
  5849.  
  5850.  
  5851.  
  5852.  
  5853.  
  5854.  
  5855. extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
  5856.      __const pthread_barrierattr_t *__restrict
  5857.      __attr, unsigned int __count)
  5858.      throw () __attribute__ ((__nonnull__ (1)));
  5859.  
  5860.  
  5861. extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
  5862.      throw () __attribute__ ((__nonnull__ (1)));
  5863.  
  5864.  
  5865. extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
  5866.      throw () __attribute__ ((__nonnull__ (1)));
  5867.  
  5868.  
  5869.  
  5870. extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
  5871.      throw () __attribute__ ((__nonnull__ (1)));
  5872.  
  5873.  
  5874. extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
  5875.      throw () __attribute__ ((__nonnull__ (1)));
  5876.  
  5877.  
  5878. extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
  5879.         __restrict __attr,
  5880.         int *__restrict __pshared)
  5881.      throw () __attribute__ ((__nonnull__ (1, 2)));
  5882.  
  5883.  
  5884. extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
  5885.         int __pshared)
  5886.      throw () __attribute__ ((__nonnull__ (1)));
  5887. # 1095 "/usr/include/pthread.h" 3 4
  5888. extern int pthread_key_create (pthread_key_t *__key,
  5889.           void (*__destr_function) (void *))
  5890.      throw () __attribute__ ((__nonnull__ (1)));
  5891.  
  5892.  
  5893. extern int pthread_key_delete (pthread_key_t __key) throw ();
  5894.  
  5895.  
  5896. extern void *pthread_getspecific (pthread_key_t __key) throw ();
  5897.  
  5898.  
  5899. extern int pthread_setspecific (pthread_key_t __key,
  5900.     __const void *__pointer) throw () ;
  5901.  
  5902.  
  5903.  
  5904.  
  5905. extern int pthread_getcpuclockid (pthread_t __thread_id,
  5906.       __clockid_t *__clock_id)
  5907.      throw () __attribute__ ((__nonnull__ (2)));
  5908. # 1129 "/usr/include/pthread.h" 3 4
  5909. extern int pthread_atfork (void (*__prepare) (void),
  5910.       void (*__parent) (void),
  5911.       void (*__child) (void)) throw ();
  5912. # 1143 "/usr/include/pthread.h" 3 4
  5913. }
  5914. # 42 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 2 3
  5915. # 53 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  5916. typedef pthread_t __gthread_t;
  5917. typedef pthread_key_t __gthread_key_t;
  5918. typedef pthread_once_t __gthread_once_t;
  5919. typedef pthread_mutex_t __gthread_mutex_t;
  5920. typedef pthread_mutex_t __gthread_recursive_mutex_t;
  5921. typedef pthread_cond_t __gthread_cond_t;
  5922. typedef struct timespec __gthread_time_t;
  5923. # 140 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  5924. static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once")));
  5925. static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific")));
  5926. static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific")));
  5927.  
  5928. static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create")));
  5929. static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join")));
  5930. static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal")));
  5931. static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self")));
  5932. static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach")));
  5933.  
  5934. static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel")));
  5935.  
  5936. static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield")));
  5937.  
  5938. static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock")));
  5939. static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock")));
  5940.  
  5941. static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock")));
  5942.  
  5943. static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock")));
  5944. static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init")));
  5945. static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy")));
  5946.  
  5947. static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init")));
  5948. static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast")));
  5949. static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal")));
  5950. static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait")));
  5951. static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait")));
  5952. static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy")));
  5953.  
  5954.  
  5955. static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create")));
  5956. static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete")));
  5957. static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init")));
  5958. static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype")));
  5959. static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy")));
  5960. # 258 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  5961. static inline int
  5962. __gthread_active_p (void)
  5963. {
  5964.  
  5965.  
  5966.  
  5967.   static void *const __gthread_active_ptr
  5968.     = __extension__ (void *) &__gthrw_pthread_cancel;
  5969.  
  5970.  
  5971.  
  5972.  
  5973.   return __gthread_active_ptr != 0;
  5974. }
  5975. # 677 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  5976. static inline int
  5977. __gthread_create (__gthread_t *__threadid, void *(*__func) (void*),
  5978.     void *__args)
  5979. {
  5980.   return __gthrw_pthread_create (__threadid, __null, __func, __args);
  5981. }
  5982.  
  5983. static inline int
  5984. __gthread_join (__gthread_t __threadid, void **__value_ptr)
  5985. {
  5986.   return __gthrw_pthread_join (__threadid, __value_ptr);
  5987. }
  5988.  
  5989. static inline int
  5990. __gthread_detach (__gthread_t __threadid)
  5991. {
  5992.   return __gthrw_pthread_detach (__threadid);
  5993. }
  5994.  
  5995. static inline int
  5996. __gthread_equal (__gthread_t __t1, __gthread_t __t2)
  5997. {
  5998.   return __gthrw_pthread_equal (__t1, __t2);
  5999. }
  6000.  
  6001. static inline __gthread_t
  6002. __gthread_self (void)
  6003. {
  6004.   return __gthrw_pthread_self ();
  6005. }
  6006.  
  6007. static inline int
  6008. __gthread_yield (void)
  6009. {
  6010.   return __gthrw_sched_yield ();
  6011. }
  6012.  
  6013. static inline int
  6014. __gthread_once (__gthread_once_t *__once, void (*__func) (void))
  6015. {
  6016.   if (__gthread_active_p ())
  6017.     return __gthrw_pthread_once (__once, __func);
  6018.   else
  6019.     return -1;
  6020. }
  6021.  
  6022. static inline int
  6023. __gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *))
  6024. {
  6025.   return __gthrw_pthread_key_create (__key, __dtor);
  6026. }
  6027.  
  6028. static inline int
  6029. __gthread_key_delete (__gthread_key_t __key)
  6030. {
  6031.   return __gthrw_pthread_key_delete (__key);
  6032. }
  6033.  
  6034. static inline void *
  6035. __gthread_getspecific (__gthread_key_t __key)
  6036. {
  6037.   return __gthrw_pthread_getspecific (__key);
  6038. }
  6039.  
  6040. static inline int
  6041. __gthread_setspecific (__gthread_key_t __key, const void *__ptr)
  6042. {
  6043.   return __gthrw_pthread_setspecific (__key, __ptr);
  6044. }
  6045. # 756 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  6046. static inline int
  6047. __gthread_mutex_destroy (__gthread_mutex_t *__mutex)
  6048. {
  6049.   if (__gthread_active_p ())
  6050.     return __gthrw_pthread_mutex_destroy (__mutex);
  6051.   else
  6052.     return 0;
  6053. }
  6054.  
  6055. static inline int
  6056. __gthread_mutex_lock (__gthread_mutex_t *__mutex)
  6057. {
  6058.   if (__gthread_active_p ())
  6059.     return __gthrw_pthread_mutex_lock (__mutex);
  6060.   else
  6061.     return 0;
  6062. }
  6063.  
  6064. static inline int
  6065. __gthread_mutex_trylock (__gthread_mutex_t *__mutex)
  6066. {
  6067.   if (__gthread_active_p ())
  6068.     return __gthrw_pthread_mutex_trylock (__mutex);
  6069.   else
  6070.     return 0;
  6071. }
  6072.  
  6073.  
  6074. static inline int
  6075. __gthread_mutex_timedlock (__gthread_mutex_t *__mutex,
  6076.       const __gthread_time_t *__abs_timeout)
  6077. {
  6078.   if (__gthread_active_p ())
  6079.     return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout);
  6080.   else
  6081.     return 0;
  6082. }
  6083.  
  6084.  
  6085. static inline int
  6086. __gthread_mutex_unlock (__gthread_mutex_t *__mutex)
  6087. {
  6088.   if (__gthread_active_p ())
  6089.     return __gthrw_pthread_mutex_unlock (__mutex);
  6090.   else
  6091.     return 0;
  6092. }
  6093. # 828 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  6094. static inline int
  6095. __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
  6096. {
  6097.   return __gthread_mutex_lock (__mutex);
  6098. }
  6099.  
  6100. static inline int
  6101. __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
  6102. {
  6103.   return __gthread_mutex_trylock (__mutex);
  6104. }
  6105.  
  6106.  
  6107. static inline int
  6108. __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex,
  6109.          const __gthread_time_t *__abs_timeout)
  6110. {
  6111.   return __gthread_mutex_timedlock (__mutex, __abs_timeout);
  6112. }
  6113.  
  6114.  
  6115. static inline int
  6116. __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
  6117. {
  6118.   return __gthread_mutex_unlock (__mutex);
  6119. }
  6120. # 864 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr-default.h" 3
  6121. static inline int
  6122. __gthread_cond_broadcast (__gthread_cond_t *__cond)
  6123. {
  6124.   return __gthrw_pthread_cond_broadcast (__cond);
  6125. }
  6126.  
  6127. static inline int
  6128. __gthread_cond_signal (__gthread_cond_t *__cond)
  6129. {
  6130.   return __gthrw_pthread_cond_signal (__cond);
  6131. }
  6132.  
  6133. static inline int
  6134. __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex)
  6135. {
  6136.   return __gthrw_pthread_cond_wait (__cond, __mutex);
  6137. }
  6138.  
  6139. static inline int
  6140. __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex,
  6141.      const __gthread_time_t *__abs_timeout)
  6142. {
  6143.   return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout);
  6144. }
  6145.  
  6146. static inline int
  6147. __gthread_cond_wait_recursive (__gthread_cond_t *__cond,
  6148.           __gthread_recursive_mutex_t *__mutex)
  6149. {
  6150.   return __gthread_cond_wait (__cond, __mutex);
  6151. }
  6152.  
  6153. static inline int
  6154. __gthread_cond_timedwait_recursive (__gthread_cond_t *__cond,
  6155.         __gthread_recursive_mutex_t *__mutex,
  6156.         const __gthread_time_t *__abs_timeout)
  6157. {
  6158.   return __gthread_cond_timedwait (__cond, __mutex, __abs_timeout);
  6159. }
  6160.  
  6161. static inline int
  6162. __gthread_cond_destroy (__gthread_cond_t* __cond)
  6163. {
  6164.   return __gthrw_pthread_cond_destroy (__cond);
  6165. }
  6166. # 151 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/gthr.h" 2 3
  6167.  
  6168.  
  6169. #pragma GCC visibility pop
  6170. # 35 "/usr/include/c++/4.7/ext/atomicity.h" 2 3
  6171. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/atomic_word.h" 1 3
  6172. # 32 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/atomic_word.h" 3
  6173. typedef int _Atomic_word;
  6174. # 36 "/usr/include/c++/4.7/ext/atomicity.h" 2 3
  6175.  
  6176. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  6177. {
  6178.  
  6179.  
  6180.  
  6181.  
  6182.  
  6183.  
  6184.  
  6185.   static inline _Atomic_word
  6186.   __exchange_and_add(volatile _Atomic_word* __mem, int __val)
  6187.   { return __atomic_fetch_add(__mem, __val, 4); }
  6188.  
  6189.   static inline void
  6190.   __atomic_add(volatile _Atomic_word* __mem, int __val)
  6191.   { __atomic_fetch_add(__mem, __val, 4); }
  6192. # 63 "/usr/include/c++/4.7/ext/atomicity.h" 3
  6193.   static inline _Atomic_word
  6194.   __exchange_and_add_single(_Atomic_word* __mem, int __val)
  6195.   {
  6196.     _Atomic_word __result = *__mem;
  6197.     *__mem += __val;
  6198.     return __result;
  6199.   }
  6200.  
  6201.   static inline void
  6202.   __atomic_add_single(_Atomic_word* __mem, int __val)
  6203.   { *__mem += __val; }
  6204.  
  6205.   static inline _Atomic_word
  6206.   __attribute__ ((__unused__))
  6207.   __exchange_and_add_dispatch(_Atomic_word* __mem, int __val)
  6208.   {
  6209.  
  6210.     if (__gthread_active_p())
  6211.       return __exchange_and_add(__mem, __val);
  6212.     else
  6213.       return __exchange_and_add_single(__mem, __val);
  6214.  
  6215.  
  6216.  
  6217.   }
  6218.  
  6219.   static inline void
  6220.   __attribute__ ((__unused__))
  6221.   __atomic_add_dispatch(_Atomic_word* __mem, int __val)
  6222.   {
  6223.  
  6224.     if (__gthread_active_p())
  6225.       __atomic_add(__mem, __val);
  6226.     else
  6227.       __atomic_add_single(__mem, __val);
  6228.  
  6229.  
  6230.  
  6231.   }
  6232.  
  6233.  
  6234. }
  6235. # 42 "/usr/include/c++/4.7/bits/ios_base.h" 2 3
  6236.  
  6237. # 1 "/usr/include/c++/4.7/bits/locale_classes.h" 1 3
  6238. # 39 "/usr/include/c++/4.7/bits/locale_classes.h" 3
  6239.        
  6240. # 40 "/usr/include/c++/4.7/bits/locale_classes.h" 3
  6241.  
  6242.  
  6243. # 1 "/usr/include/c++/4.7/string" 1 3
  6244. # 38 "/usr/include/c++/4.7/string" 3
  6245.        
  6246. # 39 "/usr/include/c++/4.7/string" 3
  6247.  
  6248.  
  6249.  
  6250.  
  6251. # 1 "/usr/include/c++/4.7/bits/allocator.h" 1 3
  6252. # 48 "/usr/include/c++/4.7/bits/allocator.h" 3
  6253. # 1 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h" 1 3
  6254. # 34 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h" 3
  6255. # 1 "/usr/include/c++/4.7/ext/new_allocator.h" 1 3
  6256. # 34 "/usr/include/c++/4.7/ext/new_allocator.h" 3
  6257. # 1 "/usr/include/c++/4.7/new" 1 3
  6258. # 39 "/usr/include/c++/4.7/new" 3
  6259.        
  6260. # 40 "/usr/include/c++/4.7/new" 3
  6261.  
  6262.  
  6263.  
  6264.  
  6265. #pragma GCC visibility push(default)
  6266.  
  6267. extern "C++" {
  6268.  
  6269. namespace std
  6270. {
  6271.  
  6272.  
  6273.  
  6274.  
  6275.  
  6276.  
  6277.   class bad_alloc : public exception
  6278.   {
  6279.   public:
  6280.     bad_alloc() throw() { }
  6281.  
  6282.  
  6283.  
  6284.     virtual ~bad_alloc() throw();
  6285.  
  6286.  
  6287.     virtual const char* what() const throw();
  6288.   };
  6289.  
  6290.   struct nothrow_t { };
  6291.  
  6292.   extern const nothrow_t nothrow;
  6293.  
  6294.  
  6295.  
  6296.   typedef void (*new_handler)();
  6297.  
  6298.  
  6299.  
  6300.   new_handler set_new_handler(new_handler) throw();
  6301. }
  6302. # 93 "/usr/include/c++/4.7/new" 3
  6303. void* operator new(std::size_t) throw(std::bad_alloc)
  6304.   __attribute__((__externally_visible__));
  6305. void* operator new[](std::size_t) throw(std::bad_alloc)
  6306.   __attribute__((__externally_visible__));
  6307. void operator delete(void*) throw()
  6308.   __attribute__((__externally_visible__));
  6309. void operator delete[](void*) throw()
  6310.   __attribute__((__externally_visible__));
  6311. void* operator new(std::size_t, const std::nothrow_t&) throw()
  6312.   __attribute__((__externally_visible__));
  6313. void* operator new[](std::size_t, const std::nothrow_t&) throw()
  6314.   __attribute__((__externally_visible__));
  6315. void operator delete(void*, const std::nothrow_t&) throw()
  6316.   __attribute__((__externally_visible__));
  6317. void operator delete[](void*, const std::nothrow_t&) throw()
  6318.   __attribute__((__externally_visible__));
  6319.  
  6320.  
  6321. inline void* operator new(std::size_t, void* __p) throw()
  6322. { return __p; }
  6323. inline void* operator new[](std::size_t, void* __p) throw()
  6324. { return __p; }
  6325.  
  6326.  
  6327. inline void operator delete (void*, void*) throw() { }
  6328. inline void operator delete[](void*, void*) throw() { }
  6329.  
  6330. }
  6331.  
  6332. #pragma GCC visibility pop
  6333. # 35 "/usr/include/c++/4.7/ext/new_allocator.h" 2 3
  6334.  
  6335.  
  6336.  
  6337. namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
  6338. {
  6339.  
  6340.  
  6341.   using std::size_t;
  6342.   using std::ptrdiff_t;
  6343. # 53 "/usr/include/c++/4.7/ext/new_allocator.h" 3
  6344.   template<typename _Tp>
  6345.     class new_allocator
  6346.     {
  6347.     public:
  6348.       typedef size_t size_type;
  6349.       typedef ptrdiff_t difference_type;
  6350.       typedef _Tp* pointer;
  6351.       typedef const _Tp* const_pointer;
  6352.       typedef _Tp& reference;
  6353.       typedef const _Tp& const_reference;
  6354.       typedef _Tp value_type;
  6355.  
  6356.       template<typename _Tp1>
  6357.         struct rebind
  6358.         { typedef new_allocator<_Tp1> other; };
  6359.  
  6360.       new_allocator() throw() { }
  6361.  
  6362.       new_allocator(const new_allocator&) throw() { }
  6363.  
  6364.       template<typename _Tp1>
  6365.         new_allocator(const new_allocator<_Tp1>&) throw() { }
  6366.  
  6367.       ~new_allocator() throw() { }
  6368.  
  6369.       pointer
  6370.       address(reference __x) const
  6371.       { return std::__addressof(__x); }
  6372.  
  6373.       const_pointer
  6374.       address(const_reference __x) const
  6375.       { return std::__addressof(__x); }
  6376.  
  6377.  
  6378.  
  6379.       pointer
  6380.       allocate(size_type __n, const void* = 0)
  6381.       {
  6382.  if (__n > this->max_size())
  6383.    std::__throw_bad_alloc();
  6384.  
  6385.  return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  6386.       }
  6387.  
  6388.  
  6389.       void
  6390.       deallocate(pointer __p, size_type)
  6391.       { ::operator delete(__p); }
  6392.  
  6393.       size_type
  6394.       max_size() const throw()
  6395.       { return size_t(-1) / sizeof(_Tp); }
  6396. # 118 "/usr/include/c++/4.7/ext/new_allocator.h" 3
  6397.       void
  6398.       construct(pointer __p, const _Tp& __val)
  6399.       { ::new((void *)__p) _Tp(__val); }
  6400.  
  6401.       void
  6402.       destroy(pointer __p) { __p->~_Tp(); }
  6403.  
  6404.     };
  6405.  
  6406.   template<typename _Tp>
  6407.     inline bool
  6408.     operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  6409.     { return true; }
  6410.  
  6411.   template<typename _Tp>
  6412.     inline bool
  6413.     operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  6414.     { return false; }
  6415.  
  6416.  
  6417. }
  6418. # 35 "/usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h" 2 3
  6419. # 49 "/usr/include/c++/4.7/bits/allocator.h" 2 3
  6420.  
  6421. namespace std __attribute__ ((__visibility__ ("default")))
  6422. {
  6423.  
  6424. # 63 "/usr/include/c++/4.7/bits/allocator.h" 3
  6425.   template<typename _Tp>
  6426.     class allocator;
  6427.  
  6428.  
  6429.   template<>
  6430.     class allocator<void>
  6431.     {
  6432.     public:
  6433.       typedef size_t size_type;
  6434.       typedef ptrdiff_t difference_type;
  6435.       typedef void* pointer;
  6436.       typedef const void* const_pointer;
  6437.       typedef void value_type;
  6438.  
  6439.       template<typename _Tp1>
  6440.         struct rebind
  6441.         { typedef allocator<_Tp1> other; };
  6442.     };
  6443.  
  6444.  
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450.   template<typename _Tp>
  6451.     class allocator: public __gnu_cxx::new_allocator<_Tp>
  6452.     {
  6453.    public:
  6454.       typedef size_t size_type;
  6455.       typedef ptrdiff_t difference_type;
  6456.       typedef _Tp* pointer;
  6457.       typedef const _Tp* const_pointer;
  6458.       typedef _Tp& reference;
  6459.       typedef const _Tp& const_reference;
  6460.       typedef _Tp value_type;
  6461.  
  6462.       template<typename _Tp1>
  6463.         struct rebind
  6464.         { typedef allocator<_Tp1> other; };
  6465.  
  6466.       allocator() throw() { }
  6467.  
  6468.       allocator(const allocator& __a) throw()
  6469.       : __gnu_cxx::new_allocator<_Tp>(__a) { }
  6470.  
  6471.       template<typename _Tp1>
  6472.         allocator(const allocator<_Tp1>&) throw() { }
  6473.  
  6474.       ~allocator() throw() { }
  6475.  
  6476.  
  6477.     };
  6478.  
  6479.   template<typename _T1, typename _T2>
  6480.     inline bool
  6481.     operator==(const allocator<_T1>&, const allocator<_T2>&)
  6482.     { return true; }
  6483.  
  6484.   template<typename _Tp>
  6485.     inline bool
  6486.     operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  6487.     { return true; }
  6488.  
  6489.   template<typename _T1, typename _T2>
  6490.     inline bool
  6491.     operator!=(const allocator<_T1>&, const allocator<_T2>&)
  6492.     { return false; }
  6493.  
  6494.   template<typename _Tp>
  6495.     inline bool
  6496.     operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  6497.     { return false; }
  6498. # 144 "/usr/include/c++/4.7/bits/allocator.h" 3
  6499.   extern template class allocator<char>;
  6500.   extern template class allocator<wchar_t>;
  6501.  
  6502.  
  6503.  
  6504.  
  6505.  
  6506.  
  6507.   template<typename _Alloc, bool = __is_empty(_Alloc)>
  6508.     struct __alloc_swap
  6509.     { static void _S_do_it(_Alloc&, _Alloc&) { } };
  6510.  
  6511.   template<typename _Alloc>
  6512.     struct __alloc_swap<_Alloc, false>
  6513.     {
  6514.       static void
  6515.       _S_do_it(_Alloc& __one, _Alloc& __two)
  6516.       {
  6517.  
  6518.  if (__one != __two)
  6519.    swap(__one, __two);
  6520.       }
  6521.     };
  6522.  
  6523.  
  6524.   template<typename _Alloc, bool = __is_empty(_Alloc)>
  6525.     struct __alloc_neq
  6526.     {
  6527.       static bool
  6528.       _S_do_it(const _Alloc&, const _Alloc&)
  6529.       { return false; }
  6530.     };
  6531.  
  6532.   template<typename _Alloc>
  6533.     struct __alloc_neq<_Alloc, false>
  6534.     {
  6535.       static bool
  6536.       _S_do_it(const _Alloc& __one, const _Alloc& __two)
  6537.       { return __one != __two; }
  6538.     };
  6539. # 215 "/usr/include/c++/4.7/bits/allocator.h" 3
  6540.  
  6541. }
  6542. # 44 "/usr/include/c++/4.7/string" 2 3
  6543.  
  6544.  
  6545. # 1 "/usr/include/c++/4.7/bits/ostream_insert.h" 1 3
  6546. # 33 "/usr/include/c++/4.7/bits/ostream_insert.h" 3
  6547.        
  6548. # 34 "/usr/include/c++/4.7/bits/ostream_insert.h" 3
  6549.  
  6550.  
  6551. # 1 "/usr/include/c++/4.7/bits/cxxabi_forced.h" 1 3
  6552. # 34 "/usr/include/c++/4.7/bits/cxxabi_forced.h" 3
  6553.        
  6554. # 35 "/usr/include/c++/4.7/bits/cxxabi_forced.h" 3
  6555.  
  6556. #pragma GCC visibility push(default)
  6557.  
  6558.  
  6559. namespace __cxxabiv1
  6560. {
  6561.  
  6562.  
  6563.  
  6564.  
  6565.  
  6566.  
  6567.  
  6568.   class __forced_unwind
  6569.   {
  6570.     virtual ~__forced_unwind() throw();
  6571.  
  6572.  
  6573.     virtual void __pure_dummy() = 0;
  6574.   };
  6575. }
  6576.  
  6577.  
  6578. #pragma GCC visibility pop
  6579. # 37 "/usr/include/c++/4.7/bits/ostream_insert.h" 2 3
  6580.  
  6581. namespace std __attribute__ ((__visibility__ ("default")))
  6582. {
  6583.  
  6584.  
  6585.   template<typename _CharT, typename _Traits>
  6586.     inline void
  6587.     __ostream_write(basic_ostream<_CharT, _Traits>& __out,
  6588.       const _CharT* __s, streamsize __n)
  6589.     {
  6590.       typedef basic_ostream<_CharT, _Traits> __ostream_type;
  6591.       typedef typename __ostream_type::ios_base __ios_base;
  6592.  
  6593.       const streamsize __put = __out.rdbuf()->sputn(__s, __n);
  6594.       if (__put != __n)
  6595.  __out.setstate(__ios_base::badbit);
  6596.     }
  6597.  
  6598.   template<typename _CharT, typename _Traits>
  6599.     inline void
  6600.     __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
  6601.     {
  6602.       typedef basic_ostream<_CharT, _Traits> __ostream_type;
  6603.       typedef typename __ostream_type::ios_base __ios_base;
  6604.  
  6605.       const _CharT __c = __out.fill();
  6606.       for (; __n > 0; --__n)
  6607.  {
  6608.    const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c);
  6609.    if (_Traits::eq_int_type(__put, _Traits::eof()))
  6610.      {
  6611.        __out.setstate(__ios_base::badbit);
  6612.        break;
  6613.      }
  6614.  }
  6615.     }
  6616.  
  6617.   template<typename _CharT, typename _Traits>
  6618.     basic_ostream<_CharT, _Traits>&
  6619.     __ostream_insert(basic_ostream<_CharT, _Traits>& __out,
  6620.        const _CharT* __s, streamsize __n)
  6621.     {
  6622.       typedef basic_ostream<_CharT, _Traits> __ostream_type;
  6623.       typedef typename __ostream_type::ios_base __ios_base;
  6624.  
  6625.       typename __ostream_type::sentry __cerb(__out);
  6626.       if (__cerb)
  6627.  {
  6628.    try
  6629.      {
  6630.        const streamsize __w = __out.width();
  6631.        if (__w > __n)
  6632.   {
  6633.     const bool __left = ((__out.flags()
  6634.      & __ios_base::adjustfield)
  6635.            == __ios_base::left);
  6636.     if (!__left)
  6637.       __ostream_fill(__out, __w - __n);
  6638.     if (__out.good())
  6639.       __ostream_write(__out, __s, __n);
  6640.     if (__left && __out.good())
  6641.       __ostream_fill(__out, __w - __n);
  6642.   }
  6643.        else
  6644.   __ostream_write(__out, __s, __n);
  6645.        __out.width(0);
  6646.      }
  6647.    catch(__cxxabiv1::__forced_unwind&)
  6648.      {
  6649.        __out._M_setstate(__ios_base::badbit);
  6650.        throw;
  6651.      }
  6652.    catch(...)
  6653.      { __out._M_setstate(__ios_base::badbit); }
  6654.  }
  6655.       return __out;
  6656.     }
  6657.  
  6658.  
  6659.  
  6660.  
  6661.   extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
  6662.  
  6663.  
  6664.   extern template wostream& __ostream_insert(wostream&, const wchar_t*,
  6665.           streamsize);
  6666.  
  6667.  
  6668.  
  6669.  
  6670. }
  6671. # 47 "/usr/include/c++/4.7/string" 2 3
  6672.  
  6673.  
  6674.  
  6675. # 1 "/usr/include/c++/4.7/bits/stl_function.h" 1 3
  6676. # 61 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6677. namespace std __attribute__ ((__visibility__ ("default")))
  6678. {
  6679.  
  6680. # 102 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6681.   template<typename _Arg, typename _Result>
  6682.     struct unary_function
  6683.     {
  6684.  
  6685.       typedef _Arg argument_type;
  6686.  
  6687.  
  6688.       typedef _Result result_type;
  6689.     };
  6690.  
  6691.  
  6692.  
  6693.  
  6694.   template<typename _Arg1, typename _Arg2, typename _Result>
  6695.     struct binary_function
  6696.     {
  6697.  
  6698.       typedef _Arg1 first_argument_type;
  6699.  
  6700.  
  6701.       typedef _Arg2 second_argument_type;
  6702.  
  6703.  
  6704.       typedef _Result result_type;
  6705.     };
  6706. # 141 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6707.   template<typename _Tp>
  6708.     struct plus : public binary_function<_Tp, _Tp, _Tp>
  6709.     {
  6710.       _Tp
  6711.       operator()(const _Tp& __x, const _Tp& __y) const
  6712.       { return __x + __y; }
  6713.     };
  6714.  
  6715.  
  6716.   template<typename _Tp>
  6717.     struct minus : public binary_function<_Tp, _Tp, _Tp>
  6718.     {
  6719.       _Tp
  6720.       operator()(const _Tp& __x, const _Tp& __y) const
  6721.       { return __x - __y; }
  6722.     };
  6723.  
  6724.  
  6725.   template<typename _Tp>
  6726.     struct multiplies : public binary_function<_Tp, _Tp, _Tp>
  6727.     {
  6728.       _Tp
  6729.       operator()(const _Tp& __x, const _Tp& __y) const
  6730.       { return __x * __y; }
  6731.     };
  6732.  
  6733.  
  6734.   template<typename _Tp>
  6735.     struct divides : public binary_function<_Tp, _Tp, _Tp>
  6736.     {
  6737.       _Tp
  6738.       operator()(const _Tp& __x, const _Tp& __y) const
  6739.       { return __x / __y; }
  6740.     };
  6741.  
  6742.  
  6743.   template<typename _Tp>
  6744.     struct modulus : public binary_function<_Tp, _Tp, _Tp>
  6745.     {
  6746.       _Tp
  6747.       operator()(const _Tp& __x, const _Tp& __y) const
  6748.       { return __x % __y; }
  6749.     };
  6750.  
  6751.  
  6752.   template<typename _Tp>
  6753.     struct negate : public unary_function<_Tp, _Tp>
  6754.     {
  6755.       _Tp
  6756.       operator()(const _Tp& __x) const
  6757.       { return -__x; }
  6758.     };
  6759. # 205 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6760.   template<typename _Tp>
  6761.     struct equal_to : public binary_function<_Tp, _Tp, bool>
  6762.     {
  6763.       bool
  6764.       operator()(const _Tp& __x, const _Tp& __y) const
  6765.       { return __x == __y; }
  6766.     };
  6767.  
  6768.  
  6769.   template<typename _Tp>
  6770.     struct not_equal_to : public binary_function<_Tp, _Tp, bool>
  6771.     {
  6772.       bool
  6773.       operator()(const _Tp& __x, const _Tp& __y) const
  6774.       { return __x != __y; }
  6775.     };
  6776.  
  6777.  
  6778.   template<typename _Tp>
  6779.     struct greater : public binary_function<_Tp, _Tp, bool>
  6780.     {
  6781.       bool
  6782.       operator()(const _Tp& __x, const _Tp& __y) const
  6783.       { return __x > __y; }
  6784.     };
  6785.  
  6786.  
  6787.   template<typename _Tp>
  6788.     struct less : public binary_function<_Tp, _Tp, bool>
  6789.     {
  6790.       bool
  6791.       operator()(const _Tp& __x, const _Tp& __y) const
  6792.       { return __x < __y; }
  6793.     };
  6794.  
  6795.  
  6796.   template<typename _Tp>
  6797.     struct greater_equal : public binary_function<_Tp, _Tp, bool>
  6798.     {
  6799.       bool
  6800.       operator()(const _Tp& __x, const _Tp& __y) const
  6801.       { return __x >= __y; }
  6802.     };
  6803.  
  6804.  
  6805.   template<typename _Tp>
  6806.     struct less_equal : public binary_function<_Tp, _Tp, bool>
  6807.     {
  6808.       bool
  6809.       operator()(const _Tp& __x, const _Tp& __y) const
  6810.       { return __x <= __y; }
  6811.     };
  6812. # 269 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6813.   template<typename _Tp>
  6814.     struct logical_and : public binary_function<_Tp, _Tp, bool>
  6815.     {
  6816.       bool
  6817.       operator()(const _Tp& __x, const _Tp& __y) const
  6818.       { return __x && __y; }
  6819.     };
  6820.  
  6821.  
  6822.   template<typename _Tp>
  6823.     struct logical_or : public binary_function<_Tp, _Tp, bool>
  6824.     {
  6825.       bool
  6826.       operator()(const _Tp& __x, const _Tp& __y) const
  6827.       { return __x || __y; }
  6828.     };
  6829.  
  6830.  
  6831.   template<typename _Tp>
  6832.     struct logical_not : public unary_function<_Tp, bool>
  6833.     {
  6834.       bool
  6835.       operator()(const _Tp& __x) const
  6836.       { return !__x; }
  6837.     };
  6838.  
  6839.  
  6840.  
  6841.  
  6842.   template<typename _Tp>
  6843.     struct bit_and : public binary_function<_Tp, _Tp, _Tp>
  6844.     {
  6845.       _Tp
  6846.       operator()(const _Tp& __x, const _Tp& __y) const
  6847.       { return __x & __y; }
  6848.     };
  6849.  
  6850.   template<typename _Tp>
  6851.     struct bit_or : public binary_function<_Tp, _Tp, _Tp>
  6852.     {
  6853.       _Tp
  6854.       operator()(const _Tp& __x, const _Tp& __y) const
  6855.       { return __x | __y; }
  6856.     };
  6857.  
  6858.   template<typename _Tp>
  6859.     struct bit_xor : public binary_function<_Tp, _Tp, _Tp>
  6860.     {
  6861.       _Tp
  6862.       operator()(const _Tp& __x, const _Tp& __y) const
  6863.       { return __x ^ __y; }
  6864.     };
  6865. # 352 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6866.   template<typename _Predicate>
  6867.     class unary_negate
  6868.     : public unary_function<typename _Predicate::argument_type, bool>
  6869.     {
  6870.     protected:
  6871.       _Predicate _M_pred;
  6872.  
  6873.     public:
  6874.       explicit
  6875.       unary_negate(const _Predicate& __x) : _M_pred(__x) { }
  6876.  
  6877.       bool
  6878.       operator()(const typename _Predicate::argument_type& __x) const
  6879.       { return !_M_pred(__x); }
  6880.     };
  6881.  
  6882.  
  6883.   template<typename _Predicate>
  6884.     inline unary_negate<_Predicate>
  6885.     not1(const _Predicate& __pred)
  6886.     { return unary_negate<_Predicate>(__pred); }
  6887.  
  6888.  
  6889.   template<typename _Predicate>
  6890.     class binary_negate
  6891.     : public binary_function<typename _Predicate::first_argument_type,
  6892.         typename _Predicate::second_argument_type, bool>
  6893.     {
  6894.     protected:
  6895.       _Predicate _M_pred;
  6896.  
  6897.     public:
  6898.       explicit
  6899.       binary_negate(const _Predicate& __x) : _M_pred(__x) { }
  6900.  
  6901.       bool
  6902.       operator()(const typename _Predicate::first_argument_type& __x,
  6903.    const typename _Predicate::second_argument_type& __y) const
  6904.       { return !_M_pred(__x, __y); }
  6905.     };
  6906.  
  6907.  
  6908.   template<typename _Predicate>
  6909.     inline binary_negate<_Predicate>
  6910.     not2(const _Predicate& __pred)
  6911.     { return binary_negate<_Predicate>(__pred); }
  6912. # 423 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6913.   template<typename _Arg, typename _Result>
  6914.     class pointer_to_unary_function : public unary_function<_Arg, _Result>
  6915.     {
  6916.     protected:
  6917.       _Result (*_M_ptr)(_Arg);
  6918.  
  6919.     public:
  6920.       pointer_to_unary_function() { }
  6921.  
  6922.       explicit
  6923.       pointer_to_unary_function(_Result (*__x)(_Arg))
  6924.       : _M_ptr(__x) { }
  6925.  
  6926.       _Result
  6927.       operator()(_Arg __x) const
  6928.       { return _M_ptr(__x); }
  6929.     };
  6930.  
  6931.  
  6932.   template<typename _Arg, typename _Result>
  6933.     inline pointer_to_unary_function<_Arg, _Result>
  6934.     ptr_fun(_Result (*__x)(_Arg))
  6935.     { return pointer_to_unary_function<_Arg, _Result>(__x); }
  6936.  
  6937.  
  6938.   template<typename _Arg1, typename _Arg2, typename _Result>
  6939.     class pointer_to_binary_function
  6940.     : public binary_function<_Arg1, _Arg2, _Result>
  6941.     {
  6942.     protected:
  6943.       _Result (*_M_ptr)(_Arg1, _Arg2);
  6944.  
  6945.     public:
  6946.       pointer_to_binary_function() { }
  6947.  
  6948.       explicit
  6949.       pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2))
  6950.       : _M_ptr(__x) { }
  6951.  
  6952.       _Result
  6953.       operator()(_Arg1 __x, _Arg2 __y) const
  6954.       { return _M_ptr(__x, __y); }
  6955.     };
  6956.  
  6957.  
  6958.   template<typename _Arg1, typename _Arg2, typename _Result>
  6959.     inline pointer_to_binary_function<_Arg1, _Arg2, _Result>
  6960.     ptr_fun(_Result (*__x)(_Arg1, _Arg2))
  6961.     { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); }
  6962.  
  6963.  
  6964.   template<typename _Tp>
  6965.     struct _Identity
  6966.  
  6967.  
  6968.  
  6969.     : public unary_function<_Tp,_Tp>
  6970.  
  6971.     {
  6972.       _Tp&
  6973.       operator()(_Tp& __x) const
  6974.       { return __x; }
  6975.  
  6976.       const _Tp&
  6977.       operator()(const _Tp& __x) const
  6978.       { return __x; }
  6979.     };
  6980.  
  6981.   template<typename _Pair>
  6982.     struct _Select1st
  6983.  
  6984.     : public unary_function<_Pair, typename _Pair::first_type>
  6985.  
  6986.     {
  6987.       typename _Pair::first_type&
  6988.       operator()(_Pair& __x) const
  6989.       { return __x.first; }
  6990.  
  6991.       const typename _Pair::first_type&
  6992.       operator()(const _Pair& __x) const
  6993.       { return __x.first; }
  6994. # 516 "/usr/include/c++/4.7/bits/stl_function.h" 3
  6995.     };
  6996.  
  6997.   template<typename _Pair>
  6998.     struct _Select2nd
  6999.  
  7000.     : public unary_function<_Pair, typename _Pair::second_type>
  7001.  
  7002.     {
  7003.       typename _Pair::second_type&
  7004.       operator()(_Pair& __x) const
  7005.       { return __x.second; }
  7006.  
  7007.       const typename _Pair::second_type&
  7008.       operator()(const _Pair& __x) const
  7009.       { return __x.second; }
  7010.     };
  7011. # 551 "/usr/include/c++/4.7/bits/stl_function.h" 3
  7012.   template<typename _Ret, typename _Tp>
  7013.     class mem_fun_t : public unary_function<_Tp*, _Ret>
  7014.     {
  7015.     public:
  7016.       explicit
  7017.       mem_fun_t(_Ret (_Tp::*__pf)())
  7018.       : _M_f(__pf) { }
  7019.  
  7020.       _Ret
  7021.       operator()(_Tp* __p) const
  7022.       { return (__p->*_M_f)(); }
  7023.  
  7024.     private:
  7025.       _Ret (_Tp::*_M_f)();
  7026.     };
  7027.  
  7028.  
  7029.  
  7030.   template<typename _Ret, typename _Tp>
  7031.     class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
  7032.     {
  7033.     public:
  7034.       explicit
  7035.       const_mem_fun_t(_Ret (_Tp::*__pf)() const)
  7036.       : _M_f(__pf) { }
  7037.  
  7038.       _Ret
  7039.       operator()(const _Tp* __p) const
  7040.       { return (__p->*_M_f)(); }
  7041.  
  7042.     private:
  7043.       _Ret (_Tp::*_M_f)() const;
  7044.     };
  7045.  
  7046.  
  7047.  
  7048.   template<typename _Ret, typename _Tp>
  7049.     class mem_fun_ref_t : public unary_function<_Tp, _Ret>
  7050.     {
  7051.     public:
  7052.       explicit
  7053.       mem_fun_ref_t(_Ret (_Tp::*__pf)())
  7054.       : _M_f(__pf) { }
  7055.  
  7056.       _Ret
  7057.       operator()(_Tp& __r) const
  7058.       { return (__r.*_M_f)(); }
  7059.  
  7060.     private:
  7061.       _Ret (_Tp::*_M_f)();
  7062.   };
  7063.  
  7064.  
  7065.  
  7066.   template<typename _Ret, typename _Tp>
  7067.     class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
  7068.     {
  7069.     public:
  7070.       explicit
  7071.       const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
  7072.       : _M_f(__pf) { }
  7073.  
  7074.       _Ret
  7075.       operator()(const _Tp& __r) const
  7076.       { return (__r.*_M_f)(); }
  7077.  
  7078.     private:
  7079.       _Ret (_Tp::*_M_f)() const;
  7080.     };
  7081.  
  7082.  
  7083.  
  7084.   template<typename _Ret, typename _Tp, typename _Arg>
  7085.     class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
  7086.     {
  7087.     public:
  7088.       explicit
  7089.       mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
  7090.       : _M_f(__pf) { }
  7091.  
  7092.       _Ret
  7093.       operator()(_Tp* __p, _Arg __x) const
  7094.       { return (__p->*_M_f)(__x); }
  7095.  
  7096.     private:
  7097.       _Ret (_Tp::*_M_f)(_Arg);
  7098.     };
  7099.  
  7100.  
  7101.  
  7102.   template<typename _Ret, typename _Tp, typename _Arg>
  7103.     class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
  7104.     {
  7105.     public:
  7106.       explicit
  7107.       const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
  7108.       : _M_f(__pf) { }
  7109.  
  7110.       _Ret
  7111.       operator()(const _Tp* __p, _Arg __x) const
  7112.       { return (__p->*_M_f)(__x); }
  7113.  
  7114.     private:
  7115.       _Ret (_Tp::*_M_f)(_Arg) const;
  7116.     };
  7117.  
  7118.  
  7119.  
  7120.   template<typename _Ret, typename _Tp, typename _Arg>
  7121.     class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
  7122.     {
  7123.     public:
  7124.       explicit
  7125.       mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
  7126.       : _M_f(__pf) { }
  7127.  
  7128.       _Ret
  7129.       operator()(_Tp& __r, _Arg __x) const
  7130.       { return (__r.*_M_f)(__x); }
  7131.  
  7132.     private:
  7133.       _Ret (_Tp::*_M_f)(_Arg);
  7134.     };
  7135.  
  7136.  
  7137.  
  7138.   template<typename _Ret, typename _Tp, typename _Arg>
  7139.     class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
  7140.     {
  7141.     public:
  7142.       explicit
  7143.       const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
  7144.       : _M_f(__pf) { }
  7145.  
  7146.       _Ret
  7147.       operator()(const _Tp& __r, _Arg __x) const
  7148.       { return (__r.*_M_f)(__x); }
  7149.  
  7150.     private:
  7151.       _Ret (_Tp::*_M_f)(_Arg) const;
  7152.     };
  7153.  
  7154.  
  7155.  
  7156.   template<typename _Ret, typename _Tp>
  7157.     inline mem_fun_t<_Ret, _Tp>
  7158.     mem_fun(_Ret (_Tp::*__f)())
  7159.     { return mem_fun_t<_Ret, _Tp>(__f); }
  7160.  
  7161.   template<typename _Ret, typename _Tp>
  7162.     inline const_mem_fun_t<_Ret, _Tp>
  7163.     mem_fun(_Ret (_Tp::*__f)() const)
  7164.     { return const_mem_fun_t<_Ret, _Tp>(__f); }
  7165.  
  7166.   template<typename _Ret, typename _Tp>
  7167.     inline mem_fun_ref_t<_Ret, _Tp>
  7168.     mem_fun_ref(_Ret (_Tp::*__f)())
  7169.     { return mem_fun_ref_t<_Ret, _Tp>(__f); }
  7170.  
  7171.   template<typename _Ret, typename _Tp>
  7172.     inline const_mem_fun_ref_t<_Ret, _Tp>
  7173.     mem_fun_ref(_Ret (_Tp::*__f)() const)
  7174.     { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
  7175.  
  7176.   template<typename _Ret, typename _Tp, typename _Arg>
  7177.     inline mem_fun1_t<_Ret, _Tp, _Arg>
  7178.     mem_fun(_Ret (_Tp::*__f)(_Arg))
  7179.     { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
  7180.  
  7181.   template<typename _Ret, typename _Tp, typename _Arg>
  7182.     inline const_mem_fun1_t<_Ret, _Tp, _Arg>
  7183.     mem_fun(_Ret (_Tp::*__f)(_Arg) const)
  7184.     { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
  7185.  
  7186.   template<typename _Ret, typename _Tp, typename _Arg>
  7187.     inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
  7188.     mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
  7189.     { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
  7190.  
  7191.   template<typename _Ret, typename _Tp, typename _Arg>
  7192.     inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
  7193.     mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
  7194.     { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
  7195.  
  7196.  
  7197.  
  7198.  
  7199. }
  7200.  
  7201.  
  7202. # 1 "/usr/include/c++/4.7/backward/binders.h" 1 3
  7203. # 60 "/usr/include/c++/4.7/backward/binders.h" 3
  7204. namespace std __attribute__ ((__visibility__ ("default")))
  7205. {
  7206.  
  7207. # 104 "/usr/include/c++/4.7/backward/binders.h" 3
  7208.   template<typename _Operation>
  7209.     class binder1st
  7210.     : public unary_function<typename _Operation::second_argument_type,
  7211.