proxsuite
0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
1
#ifndef VEG_TYPEDEFS_HPP_2UKLEQTSS
2
#define VEG_TYPEDEFS_HPP_2UKLEQTSS
3
4
#include <cstdint>
5
#include <cstddef>
6
7
namespace
proxsuite
{
8
namespace
linalg {
9
namespace
veg {
10
namespace
_detail {
11
namespace
_meta {
12
template
<
typename
T>
13
struct
make_signed
;
14
template
<>
15
struct
make_signed
<
unsigned
char
>
16
{
17
using
Type
=
signed
char
;
18
};
19
template
<>
20
struct
make_signed
<
unsigned
short
>
21
{
22
using
Type
=
signed
short
;
23
};
24
template
<>
25
struct
make_signed
<
unsigned
int
>
26
{
27
using
Type
=
signed
int
;
28
};
29
template
<>
30
struct
make_signed
<
unsigned
long
>
31
{
32
using
Type
=
signed
long
;
33
};
34
template
<>
35
struct
make_signed
<
unsigned
long
long
>
36
{
37
using
Type
=
signed
long
long
;
38
};
39
}
// namespace _meta
40
}
// namespace _detail
41
42
using
usize
=
decltype
(
sizeof
(0));
43
using
isize
=
_detail::_meta::make_signed<usize>::Type
;
44
45
using
i64
= std::int64_t;
46
using
u64
= std::uint64_t;
47
using
i32
= std::int32_t;
48
using
u32
= std::uint32_t;
49
using
i16
= std::int16_t;
50
using
u16
= std::uint16_t;
51
using
u8
= std::uint8_t;
52
using
i8
= std::int8_t;
53
54
}
// namespace veg
55
}
// namespace linalg
56
}
// namespace proxsuite
57
58
#endif
/* end of include guard VEG_TYPEDEFS_HPP_2UKLEQTSS */
proxsuite::linalg::veg::u16
std::uint16_t u16
Definition
typedefs.hpp:50
proxsuite::linalg::veg::i64
std::int64_t i64
Definition
typedefs.hpp:45
proxsuite::linalg::veg::i16
std::int16_t i16
Definition
typedefs.hpp:49
proxsuite::linalg::veg::i8
std::int8_t i8
Definition
typedefs.hpp:52
proxsuite::linalg::veg::u8
std::uint8_t u8
Definition
typedefs.hpp:51
proxsuite::linalg::veg::i32
std::int32_t i32
Definition
typedefs.hpp:47
proxsuite::linalg::veg::u64
std::uint64_t u64
Definition
typedefs.hpp:46
proxsuite::linalg::veg::u32
std::uint32_t u32
Definition
typedefs.hpp:48
proxsuite::linalg::veg::isize
_detail::_meta::make_signed< usize >::Type isize
Definition
typedefs.hpp:43
proxsuite::linalg::veg::usize
decltype(sizeof(0)) usize
Definition
macros.hpp:702
proxsuite
Definition
common.hpp:14
proxsuite::linalg::veg::Ref
Definition
ref.hpp:30
proxsuite::linalg::veg::_detail::_meta::make_signed
Definition
typedefs.hpp:13
include
proxsuite
linalg
veg
internal
typedefs.hpp
Generated by
1.10.0