# bind_repeat.h

Go to the documentation of this file.

    00001 // TR1 code repetition for bind -*- C++ -*-
    00002
    00003 // Copyright (C) 2005 Free Software Foundation, Inc.
    00004 // Written by Douglas Gregor <doug.gregor -at- gmail.com>
    00005 //
    00006 // This file is part of the GNU ISO C++ Library.  This library is free
    00007 // software; you can redistribute it and/or modify it under the
    00008 // terms of the GNU General Public License as published by the
    00009 // Free Software Foundation; either version 2, or (at your option)
    00010 // any later version.
    00011
    00012 // This library is distributed in the hope that it will be useful,
    00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00015 // GNU General Public License for more details.
    00016
    00017 // You should have received a copy of the GNU General Public License along
    00018 // with this library; see the file COPYING.  If not, write to the Free
    00019 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    00020 // USA.
    00021
    00022 // As a special exception, you may use this file as part of a free software
    00023 // library without restriction.  Specifically, if other files instantiate
    00024 // templates or use macros or inline functions from this file, or you compile
    00025 // this file and link it with other files to produce an executable, this
    00026 // file does not by itself cause the resulting executable to be covered by
    00027 // the GNU General Public License.  This exception does not however
    00028 // invalidate any other reasons why the executable file might be covered by
    00029 // the GNU General Public License.
    00030
    00031 /** @file tr1/bind_repeat.h
    00032  *  This is an internal header file, included by other library headers.
    00033  *  You should not attempt to use it directly.
    00034  */
    00035
    00036 #ifndef _GLIBCXX_BIND_REPEAT_HEADER
    00037 #  error Internal error: _GLIBCXX_BIND_REPEAT_HEADER must be set
    00038 #endif /* _GLIBCXX_BIND_REPEAT_HEADER */
    00039
    00040 #define _GLIBCXX_BIND_NUM_ARGS 0
    00041 #define _GLIBCXX_BIND_COMMA
    00042 #define _GLIBCXX_BIND_TEMPLATE_PARAMS
    00043 #define _GLIBCXX_BIND_TEMPLATE_ARGS
    00044 #define _GLIBCXX_BIND_PARAMS
    00045 #define _GLIBCXX_BIND_ARGS
    00046 #  include _GLIBCXX_BIND_REPEAT_HEADER
    00047 #undef _GLIBCXX_BIND_ARGS
    00048 #undef _GLIBCXX_BIND_PARAMS
    00049 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00050 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00051 #undef _GLIBCXX_BIND_COMMA
    00052 #undef _GLIBCXX_BIND_NUM_ARGS
    00053
    00054 #define _GLIBCXX_BIND_NUM_ARGS 1
    00055 #define _GLIBCXX_BIND_COMMA ,
    00056 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1
    00057 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1
    00058 #define _GLIBCXX_BIND_PARAMS _U1& __u1
    00059 #define _GLIBCXX_BIND_ARGS __u1
    00060 #include _GLIBCXX_BIND_REPEAT_HEADER
    00061 #undef _GLIBCXX_BIND_ARGS
    00062 #undef _GLIBCXX_BIND_PARAMS
    00063 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00064 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00065 #undef _GLIBCXX_BIND_COMMA
    00066 #undef _GLIBCXX_BIND_NUM_ARGS
    00067 #define _GLIBCXX_BIND_NUM_ARGS 2
    00068 #define _GLIBCXX_BIND_COMMA ,
    00069 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2
    00070 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2
    00071 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2
    00072 #define _GLIBCXX_BIND_ARGS __u1, __u2
    00073 #include _GLIBCXX_BIND_REPEAT_HEADER
    00074 #undef _GLIBCXX_BIND_ARGS
    00075 #undef _GLIBCXX_BIND_PARAMS
    00076 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00077 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00078 #undef _GLIBCXX_BIND_COMMA
    00079 #undef _GLIBCXX_BIND_NUM_ARGS
    00080
    00081 #define _GLIBCXX_BIND_NUM_ARGS 3
    00082 #define _GLIBCXX_BIND_COMMA ,
    00083 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3
    00084 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3
    00085 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3
    00086 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3
    00087 #include _GLIBCXX_BIND_REPEAT_HEADER
    00088 #undef _GLIBCXX_BIND_ARGS
    00089 #undef _GLIBCXX_BIND_PARAMS
    00090 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00091 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00092 #undef _GLIBCXX_BIND_COMMA
    00093 #undef _GLIBCXX_BIND_NUM_ARGS
    00094
    00095 #define _GLIBCXX_BIND_NUM_ARGS 4
    00096 #define _GLIBCXX_BIND_COMMA ,
    00097 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4
    00098 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4
    00099 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4
    00100 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4
    00101 #include _GLIBCXX_BIND_REPEAT_HEADER
    00102 #undef _GLIBCXX_BIND_ARGS
    00103 #undef _GLIBCXX_BIND_PARAMS
    00104 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00105 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00106 #undef _GLIBCXX_BIND_COMMA
    00107 #undef _GLIBCXX_BIND_NUM_ARGS
    00108
    00109 #define _GLIBCXX_BIND_NUM_ARGS 5
    00110 #define _GLIBCXX_BIND_COMMA ,
    00111 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5
    00112 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5
    00113 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5
    00114 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5
    00115 #include _GLIBCXX_BIND_REPEAT_HEADER
    00116 #undef _GLIBCXX_BIND_ARGS
    00117 #undef _GLIBCXX_BIND_PARAMS
    00118 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00119 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00120 #undef _GLIBCXX_BIND_COMMA
    00121 #undef _GLIBCXX_BIND_NUM_ARGS
    00122
    00123 #define _GLIBCXX_BIND_NUM_ARGS 6
    00124 #define _GLIBCXX_BIND_COMMA ,
    00125 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5, typename _U6
    00126 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5, _U6
    00127 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5, _U6& __u6
    00128 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5, __u6
    00129 #include _GLIBCXX_BIND_REPEAT_HEADER
    00130 #undef _GLIBCXX_BIND_ARGS
    00131 #undef _GLIBCXX_BIND_PARAMS
    00132 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00133 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00134 #undef _GLIBCXX_BIND_COMMA
    00135 #undef _GLIBCXX_BIND_NUM_ARGS
    00136
    00137 #define _GLIBCXX_BIND_NUM_ARGS 7
    00138 #define _GLIBCXX_BIND_COMMA ,
    00139 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5, typename _U6, typename _U7
    00140 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5, _U6, _U7
    00141 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5, _U6& __u6, _U7& __u7
    00142 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5, __u6, __u7
    00143 #include _GLIBCXX_BIND_REPEAT_HEADER
    00144 #undef _GLIBCXX_BIND_ARGS
    00145 #undef _GLIBCXX_BIND_PARAMS
    00146 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00147 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00148 #undef _GLIBCXX_BIND_COMMA
    00149 #undef _GLIBCXX_BIND_NUM_ARGS
    00150
    00151 #define _GLIBCXX_BIND_NUM_ARGS 8
    00152 #define _GLIBCXX_BIND_COMMA ,
    00153 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5, typename _U6, typename _U7, typename _U8
    00154 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5, _U6, _U7, _U8
    00155 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5, _U6& __u6, _U7& __u7, _U8& __u8
    00156 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5, __u6, __u7, __u8
    00157 #include _GLIBCXX_BIND_REPEAT_HEADER
    00158 #undef _GLIBCXX_BIND_ARGS
    00159 #undef _GLIBCXX_BIND_PARAMS
    00160 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00161 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00162 #undef _GLIBCXX_BIND_COMMA
    00163 #undef _GLIBCXX_BIND_NUM_ARGS
    00164
    00165 #define _GLIBCXX_BIND_NUM_ARGS 9
    00166 #define _GLIBCXX_BIND_COMMA ,
    00167 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5, typename _U6, typename _U7, typename _U8, typename _U9
    00168 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5, _U6, _U7, _U8, _U9
    00169 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5, _U6& __u6, _U7& __u7, _U8& __u8, _U9& __u9
    00170 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5, __u6, __u7, __u8, __u9
    00171 #include _GLIBCXX_BIND_REPEAT_HEADER
    00172 #undef _GLIBCXX_BIND_ARGS
    00173 #undef _GLIBCXX_BIND_PARAMS
    00174 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00175 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00176 #undef _GLIBCXX_BIND_COMMA
    00177 #undef _GLIBCXX_BIND_NUM_ARGS
    00178
    00179 #define _GLIBCXX_BIND_NUM_ARGS 10
    00180 #define _GLIBCXX_BIND_COMMA ,
    00181 #define _GLIBCXX_BIND_TEMPLATE_PARAMS typename _U1, typename _U2, typename _U3, typename _U4, typename _U5, typename _U6, typename _U7, typename _U8, typename _U9, typename _U10
    00182 #define _GLIBCXX_BIND_TEMPLATE_ARGS _U1, _U2, _U3, _U4, _U5, _U6, _U7, _U8, _U9, _U10
    00183 #define _GLIBCXX_BIND_PARAMS _U1& __u1, _U2& __u2, _U3& __u3, _U4& __u4, _U5& __u5, _U6& __u6, _U7& __u7, _U8& __u8, _U9& __u9, _U10& __u10
    00184 #define _GLIBCXX_BIND_ARGS __u1, __u2, __u3, __u4, __u5, __u6, __u7, __u8, __u9, __u10
    00185 #include _GLIBCXX_BIND_REPEAT_HEADER
    00186 #undef _GLIBCXX_BIND_ARGS
    00187 #undef _GLIBCXX_BIND_PARAMS
    00188 #undef _GLIBCXX_BIND_TEMPLATE_ARGS
    00189 #undef _GLIBCXX_BIND_TEMPLATE_PARAMS
    00190 #undef _GLIBCXX_BIND_COMMA
    00191 #undef _GLIBCXX_BIND_NUM_ARGS
    00192