/usr/include/givaro/udl.h is in libgivaro-dev 4.0.2-5.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | // ==========================================================================
// Copyright(c)'1994-2015 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// Authors: A. Breust <alexis.breust@gmail.com>
// ==========================================================================
#pragma once
#include <cstdint>
/*! User-defined literals.
* Allows cross-platform literals with compile-time cast.
*/
constexpr uint64_t operator"" _ui64(unsigned long long x)
{
return static_cast<uint64_t>(x);
}
constexpr uint32_t operator"" _ui32(unsigned long long x)
{
return static_cast<uint32_t>(x);
}
constexpr uint16_t operator"" _ui16(unsigned long long x)
{
return static_cast<uint16_t>(x);
}
constexpr uint8_t operator"" _ui8(unsigned long long x)
{
return static_cast<uint8_t>(x);
}
constexpr int64_t operator"" _i64(unsigned long long x)
{
return static_cast<int64_t>(x);
}
constexpr int32_t operator"" _i32(unsigned long long x)
{
return static_cast<int32_t>(x);
}
constexpr int16_t operator"" _i16(unsigned long long x)
{
return static_cast<int16_t>(x);
}
constexpr int8_t operator"" _i8(unsigned long long x)
{
return static_cast<int8_t>(x);
}
|