xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
literals
ssize.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../ssize.hpp
"
6
#include "
../usize.hpp
"
7
#define __XTD_STD_INTERNAL__
8
#include "
../internal/__xtd_std_version.hpp
"
9
#undef __XTD_STD_INTERNAL__
10
12
namespace
xtd
{
14
inline
namespace
literals
{
16
28
[[nodiscard]]
constexpr
auto
operator
""
_sz(
long
double
n
) ->
xtd::ssize
{
return
static_cast<
xtd::ssize
>
(
n
);}
29
40
[[nodiscard]]
constexpr
auto
operator
""
_sz(
unsigned
long
long
n
) ->
xtd::ssize
{
return
static_cast<
xtd::ssize
>
(
n
);}
41
52
[[nodiscard]]
auto
operator
""
_sz(
const
char
*
s
,
xtd::usize
n
) ->
xtd::ssize
;
53
64
[[nodiscard]]
auto
operator
""
_sz(
const
char8_t
*
s
,
xtd::usize
n
) ->
xtd::ssize
;
65
76
[[nodiscard]]
auto
operator
""
_sz(
const
char16_t
*
s
,
xtd::usize
n
) ->
xtd::ssize
;
77
88
[[nodiscard]]
auto
operator
""
_sz(
const
char32_t
*
s
,
xtd::usize
n
) ->
xtd::ssize
;
89
100
[[nodiscard]]
auto
operator
""
_sz(
const
wchar_t
*
s
,
xtd::usize
n
) ->
xtd::ssize
;
102
}
103
}
__xtd_std_version.hpp
xtd::ssize
std::make_signed_t< std::size_t > ssize
Represents a signed size of any object in bytes.
Definition
ssize.hpp:24
xtd::usize
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition
usize.hpp:22
xtd::console_key::s
@ s
The S key.
Definition
console_key.hpp:124
xtd::console_key::n
@ n
The N key.
Definition
console_key.hpp:114
xtd::literals
The xtd::literals namespace contains all xtd's litterals operators.
Definition
byte.hpp:15
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
ssize.hpp
Contains xtd::ssize type.
usize.hpp
Contains xtd::usize type.
Generated on
for xtd by
Gammasoft
. All rights reserved.