Concepts usage improved

This commit is contained in:
Mateusz Pusz committed 2018-11-10 17:10:30 -08:00
1 parent 94fd74000c
commit 297b71efcf
7 files changed
+18 -61

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ namespace units {
template<typename T>
concept bool Number = requires(T a, T b) {
{ a + b} -> T;
{ a + b } -> T;
{ a - b } -> T;
{ a * b } -> T;
{ a / b } -> T;