This file is indexed.

/usr/include/osl/stl/copy_if.h is in libosl-dev 0.6.0-3.3.

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
#ifndef _COPY_IF_H
#define _COPY_IF_H

namespace osl
{
  namespace stl
  {
    /**
     * Copy the elements of a range that satisfy a predicate. The current
     * STL lacks this copy_if algorithm. This implementation comes from a
     * book: Effective STL, Scott Meyers, Addison-Wesley (Item 36).
     */
    template<class InputIterator, class OutputIterator, class Predicate>
    inline OutputIterator copy_if(InputIterator first, 
                                  InputIterator last, 
                                  OutputIterator result, 
                                  Predicate predicate)
    {
      while (first != last) {
        if (predicate(*first)) {
          *result++ = *first;
        }
        ++first;
      }
      return result;
    }
  } // stl
} // osl

#endif /* _COPY_IF_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: