xtd 0.2.0
Loading...
Searching...
No Matches
divisible.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "raw_type.hpp"
6#include <concepts>
7
9namespace xtd {
46 template<typename type_t>
47 concept divisible = requires(const xtd::raw_type<type_t>& a, const xtd::raw_type<type_t>& b) {
48 {a / b} -> std::same_as<xtd::raw_type<type_t>>;
49 };
50}
Concept divisible.
Definition divisible.hpp:47
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
@ a
The A key.
Definition console_key.hpp:88
@ b
The B key.
Definition console_key.hpp:90
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::raw_type alias.