This file is indexed.

/usr/include/trilinos/snl_fei_MapTraits.hpp is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.

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

/*--------------------------------------------------------------------*/
/*    Copyright 2005 Sandia Corporation.                              */
/*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
/*    non-exclusive license for use of this work by or on behalf      */
/*    of the U.S. Government.  Export of this program may require     */
/*    a license from the United States Government.                    */
/*--------------------------------------------------------------------*/

namespace snl_fei {

/** Define map traits. For now, only a trait for map.lower_bound and
    map.insert. Generally we simply call the corresponding methods on
    std::map, but these traits will be specialized for map classes that
    may not always have directly equivalent methods (such as hash_map, etc.).
    (hash_map doesn't have lower_bound, and hash_map's insert doesn't allow
    the use of an iterator argument to hint where the object should be
    inserted.)
*/
template<typename MAP_TYPE>
struct MapTraits {
  /** lower_bound */
  static typename MAP_TYPE::iterator
    lower_bound(MAP_TYPE& map_obj,
                typename MAP_TYPE::key_type item)
  { return( map_obj.lower_bound(item) ); }

  /** insert a value using iterator for position hint */
  static void insert(MAP_TYPE& map_obj,
                     typename MAP_TYPE::iterator& pos,
                     typename MAP_TYPE::value_type& val)
  { map_obj.insert(pos, val); }
};

}//namespace snl_fei
#endif