This file is indexed.

/usr/include/sigc++-1.2/sigc++/bind_return.h is in libsigc++-1.2-dev 1.2.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
// -*- c++ -*-
//   Copyright 2000, Karl Einar Nelson
/* This is a generated file, do not edit.  Generated from template.macros.m4 */

#ifndef   SIGC_BIND_RETURN_H
#define   SIGC_BIND_RETURN_H
#include <sigc++/bind.h>

#ifdef SIGC_CXX_NAMESPACES
namespace SigC
{
#endif



/****************************************************************
***** Adaptor Return Bind Slot 0 arguments
****************************************************************/
template <class R1,class R2>
struct AdaptorBindReturnSlot0_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot0<R2>::Proxy Proxy;
    static R1 proxy(void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2>
Slot0<R1>
  bind_return(const Slot0<R2> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot0_<R1,R2> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }


/****************************************************************
***** Adaptor Return Bind Slot 1 arguments
****************************************************************/
template <class R1,class R2,class P1>
struct AdaptorBindReturnSlot1_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot1<R2,P1>::Proxy Proxy;
    static R1 proxy(typename Trait<P1>::ref p1,void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (p1,slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2,class P1>
Slot1<R1,P1>
  bind_return(const Slot1<R2,P1> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot1_<R1,R2,P1> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }


/****************************************************************
***** Adaptor Return Bind Slot 2 arguments
****************************************************************/
template <class R1,class R2,class P1,class P2>
struct AdaptorBindReturnSlot2_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot2<R2,P1,P2>::Proxy Proxy;
    static R1 proxy(typename Trait<P1>::ref p1,typename Trait<P2>::ref p2,void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (p1,p2,slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2,class P1,class P2>
Slot2<R1,P1,P2>
  bind_return(const Slot2<R2,P1,P2> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot2_<R1,R2,P1,P2> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }


/****************************************************************
***** Adaptor Return Bind Slot 3 arguments
****************************************************************/
template <class R1,class R2,class P1,class P2,class P3>
struct AdaptorBindReturnSlot3_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot3<R2,P1,P2,P3>::Proxy Proxy;
    static R1 proxy(typename Trait<P1>::ref p1,typename Trait<P2>::ref p2,typename Trait<P3>::ref p3,void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (p1,p2,p3,slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2,class P1,class P2,class P3>
Slot3<R1,P1,P2,P3>
  bind_return(const Slot3<R2,P1,P2,P3> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot3_<R1,R2,P1,P2,P3> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }


/****************************************************************
***** Adaptor Return Bind Slot 4 arguments
****************************************************************/
template <class R1,class R2,class P1,class P2,class P3,class P4>
struct AdaptorBindReturnSlot4_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot4<R2,P1,P2,P3,P4>::Proxy Proxy;
    static R1 proxy(typename Trait<P1>::ref p1,typename Trait<P2>::ref p2,typename Trait<P3>::ref p3,typename Trait<P4>::ref p4,void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (p1,p2,p3,p4,slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2,class P1,class P2,class P3,class P4>
Slot4<R1,P1,P2,P3,P4>
  bind_return(const Slot4<R2,P1,P2,P3,P4> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot4_<R1,R2,P1,P2,P3,P4> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }


/****************************************************************
***** Adaptor Return Bind Slot 5 arguments
****************************************************************/
template <class R1,class R2,class P1,class P2,class P3,class P4,class P5>
struct AdaptorBindReturnSlot5_
  {
    typedef AdaptorBindData1_<R1> Data;
    typedef typename Slot5<R2,P1,P2,P3,P4,P5>::Proxy Proxy;
    static R1 proxy(typename Trait<P1>::ref p1,typename Trait<P2>::ref p2,typename Trait<P3>::ref p3,typename Trait<P4>::ref p4,typename Trait<P5>::ref p5,void *data) 
      { 
        Data& node = *reinterpret_cast<Data*>(data);
        SlotNode* slot = static_cast<SlotNode*>(node.adaptor.slot_.impl());
        ((Proxy)(slot->proxy_))
          (p1,p2,p3,p4,p5,slot);
        return node.c1_; 
      }
  };

/// @ingroup bind
template <class R1,class R2,class P1,class P2,class P3,class P4,class P5>
Slot5<R1,P1,P2,P3,P4,P5>
  bind_return(const Slot5<R2,P1,P2,P3,P4,P5> &s,R1 ret)
  { 
    typedef AdaptorBindData1_<R1> Data;
    typedef AdaptorBindReturnSlot5_<R1,R2,P1,P2,P3,P4,P5> Adaptor;
    return reinterpret_cast<SlotNode*>(
       new Data((FuncPtr)(&Adaptor::proxy),s,
                (FuncPtr)(&Data::dtor),ret));
  }



#ifdef SIGC_CXX_NAMESPACES
}
#endif

#endif // SIGC_BIND_RETURN_H