xtd
0.2.0
Loading...
Searching...
No Matches
xtd.core
include
xtd
sizeof.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
size.hpp
"
6
8
namespace
xtd
{
10
namespace
__s__ {
11
template
<
class
type_t>
12
xtd::size
__sizeof_() noexcept {
13
return
sizeof
(type_t);
14
}
15
16
template
<
class
type_t>
17
xtd::size
__sizeof_(
const
type_t& value)
noexcept
{
18
return
sizeof
(value);
19
}
20
21
inline
xtd::size
__sizeof_(
const
xtd::type
& value)
noexcept
{
22
return
sizeof
(value);
23
}
24
}
26
43
#define sizeof_ \
44
xtd::__s__::__sizeof_
45
}
xtd::type
std::type_info type
Stores information about a type.
Definition
type.hpp:23
xtd::size
size_t size
Represents a size of any object in bytes.
Definition
size.hpp:23
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
size.hpp
Contains xtd::size type.
Generated on Sun Aug 31 2025 20:45:33 for xtd by
Gammasoft
. All rights reserved.