/usr/include/osl/misc/carray3d.h is in libosl-dev 0.6.0-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 | /* carray3d.h
*/
#ifndef OSL_MISC_CARRAY3D_H
#define OSL_MISC_CARRAY3D_H
#include "osl/misc/carray.h"
#include "osl/misc/carray2d.h"
namespace osl
{
namespace misc
{
template <class T, size_t Capacity1, size_t Capacity2, size_t Capacity3>
struct CArray3d
: public CArray<CArray2d<T,Capacity2,Capacity3>,Capacity1>
{
typedef CArray<CArray2d<T,Capacity2,Capacity3>,Capacity1> base_t;
void fill(T value=T()){
for (size_t i=0; i<Capacity1; i++)
base_t::operator[](i).fill(value);
}
};
}
using misc::CArray3d;
}
#endif /* OSL_MISC_CARRAY3D_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|