This file is indexed.

/usr/share/dune/aclocal/cxx11_std_declval.m4 is in libdune-common-dev 2.4.1-1.

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
# tests for C++11 noexcept specifier support
# this test does not test the noexcept operator
# the associated macro is called HAVE_NOEXCEPT_SPECIFIER

AC_DEFUN([DUNE_CXX11_STD_DECLVAL_CHECK],[
  AC_CACHE_CHECK([for C++11 std::declval()],
    dune_cv_cxx11_std_declval,
    [
    AC_REQUIRE([AC_PROG_CXX])
    AC_REQUIRE([CXX11])
    AC_LANG_PUSH([C++])
    AC_COMPILE_IFELSE([
      AC_LANG_PROGRAM(
        [
          #include <utility>

          template<typename T>
          struct check;

          template<>
          struct check<int&&>
          {
            int pass() { return 0; }
          };
        ],[
          return check<decltype(std::declval<int>())>().pass();
        ])],
      dune_cv_cxx11_std_declval=yes,
      dune_cv_cxx11_std_declval=no)
    AC_LANG_POP
  ])
  if test "$dune_cv_cxx11_std_declval" = yes; then
    AC_DEFINE(HAVE_STD_DECLVAL, 1,
      [Define to 1 if C++11 std::declval() is supported])
  fi
])