/usr/include/dune/geometry/genericgeometry/maximum.hh is in libdune-geometry-dev 2.2.1-2ubuntu2.
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 | #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_MAXIMUM_HH
#define DUNE_GEOMETRY_GENERICGEOMETRY_MAXIMUM_HH
#include <dune/common/forloop.hh>
namespace Dune
{
namespace GenericGeometry
{
// StaticMaximum
// -------------
template< class A, class B >
struct StaticMaximum
{
static const int v = (A::v > B::v ? A::v : B::v);
};
// Maximum
// -------
template< template< int > class Value, int first, int last >
struct Maximum
: public GenericForLoop< StaticMaximum, Value, first, last >
{};
}
}
#endif // DUNE_GEOMETRY_GENERICGEOMETRY_MAXIMUM_HH
|