From 193186daad80c48b106ec16d4007b58941a53586 Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Fri, 11 Jun 2021 23:16:52 +0400 Subject: [PATCH] So much to do... --- source/simple/support/array_operators.hpp | 1 + unit_tests/math.cpp | 2 ++ unit_tests/random.cpp | 2 ++ unit_tests/tuple_utils.cpp | 2 ++ 4 files changed, 7 insertions(+) diff --git a/source/simple/support/array_operators.hpp b/source/simple/support/array_operators.hpp index bf2ed96..49db9b9 100644 --- a/source/simple/support/array_operators.hpp +++ b/source/simple/support/array_operators.hpp @@ -281,6 +281,7 @@ namespace simple::support // this is the another thing you need in order to support type promotion, expression templates etc. // you can set this to the shape of the array (which would be size if there is no nesting), // along with a tag that identifies the template, if you want that extra safety + // TODO: this is about operands so include operand in the name, perhaps simply operand_tag using compatibility_tag = Type; }; diff --git a/unit_tests/math.cpp b/unit_tests/math.cpp index a9d653d..9f3c203 100644 --- a/unit_tests/math.cpp +++ b/unit_tests/math.cpp @@ -1,3 +1,5 @@ +// TODO: need a test file per header and include the header first, to detect missing includes + #include <cassert> #include <random> #include <iostream> diff --git a/unit_tests/random.cpp b/unit_tests/random.cpp index b4f5408..6f0df64 100644 --- a/unit_tests/random.cpp +++ b/unit_tests/random.cpp @@ -1,3 +1,5 @@ +// TODO: need a test file per header and include the header first, to detect missing includes + #include <iostream> #include <sstream> #include <cassert> diff --git a/unit_tests/tuple_utils.cpp b/unit_tests/tuple_utils.cpp index 1299a61..1931814 100644 --- a/unit_tests/tuple_utils.cpp +++ b/unit_tests/tuple_utils.cpp @@ -1,3 +1,5 @@ +// TODO: need a test file per header and include the header first, to detect missing includes + #include <cassert> #include <string> #include <sstream> -- GitLab