/usr/include/osl/container/square8.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 35 36 37 38 39 40 | /* position8.h
*/
#ifndef OSL_POSITION8_H
#define OSL_POSITION8_H
#include "osl/square.h"
#include "osl/misc/fixedCapacityVector.h"
#include "osl/misc/cstdint.h"
#include <iosfwd>
namespace osl
{
namespace container
{
struct Square8 : public FixedCapacityVector<uint8_t,8>
{
typedef FixedCapacityVector<uint8_t,8> base_t;
void push_back(Square position)
{
base_t::push_back(position.uintValue());
}
bool isMember(Square position) const
{
return base_t::isMember(position.uintValue());
}
const Square operator[](size_t i) const
{
return Square::makeDirect(base_t::operator[](i));
}
};
std::ostream& operator<<(std::ostream&, const Square8&);
} // namespace container
using container::Square8;
} // namespace osl
#endif /* OSL_POSITION8_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|