xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
literals
index.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../index.hpp
"
6
8
namespace
xtd
{
10
inline
namespace
literals
{
12
28
[[nodiscard]]
constexpr
auto
operator
""
_i(
long
double
n
) ->
xtd::index
{
return
xtd::index
{
static_cast<
xtd::usize
>
(
n
)};}
29
44
[[nodiscard]]
constexpr
auto
operator
""
_i(
unsigned
long
long
n
) ->
xtd::index
{
return
xtd::index
{
static_cast<
xtd::usize
>
(
n
)};}
45
60
[[nodiscard]]
auto
operator
""
_i(
const
char
*
s
,
xtd::usize
n
) ->
xtd::index
;
61
76
[[nodiscard]]
auto
operator
""
_i(
const
char8_t
*
s
,
xtd::usize
n
) ->
xtd::index
;
77
92
[[nodiscard]]
auto
operator
""
_i(
const
char16_t
*
s
,
xtd::usize
n
) ->
xtd::index
;
93
108
[[nodiscard]]
auto
operator
""
_i(
const
char32_t
*
s
,
xtd::usize
n
) ->
xtd::index
;
109
124
[[nodiscard]]
auto
operator
""
_i(
const
wchar_t
*
s
,
xtd::usize
n
) ->
xtd::index
;
126
}
127
}
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
index.hpp
Contains xtd::index struct.
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
xtd::index
Represents a type that can be used to index a collection either from the beginning or the end.
Definition
index.hpp:38
Generated on
for xtd by
Gammasoft
. All rights reserved.