xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
divisible.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
raw_type.hpp
"
6
#include <concepts>
7
9
namespace
xtd
{
10
// Since Doxygen does not work properly with the C++ concept, the documentation for this concept is declared in xtd/divisible_.hpp
11
template
<
typename
type_t>
12
concept
divisible
=
requires
(
const
xtd::raw_type<type_t>
&
a
,
const
xtd::raw_type<type_t>
&
b
) {
13
{
a
/
b
} -> std::same_as<xtd::raw_type<type_t>>;
14
};
15
}
xtd::divisible
Definition
divisible.hpp:12
xtd::raw_type
std::remove_cvref_t< value_t > raw_type
Represents a raw type alias equivalent to std::remove_cvref_t<value_t>.
Definition
raw_type.hpp:25
xtd::console_key::a
@ a
The A key.
Definition
console_key.hpp:88
xtd::console_key::b
@ b
The B key.
Definition
console_key.hpp:90
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
raw_type.hpp
Contains xtd::raw_type alias.
Generated on
for xtd by
Gammasoft
. All rights reserved.