From d5250b163af56c512d63d4a1c4981f23c6e386c0 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 24 Sep 2024 15:37:34 -0400 Subject: [PATCH] i hate this language --- CMakeLists.txt | 2 +- lib/blt | 2 +- src/main.cpp | 25 +++++++++++++++++++++---- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46f719a..d213726 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 0.0.11) +project(COSC-4P80-Assignment-1 VERSION 0.0.12) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/lib/blt b/lib/blt index 7935e34..a7412fc 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit 7935e34ad4ee751f25c7664aa3b5d257f79135fe +Subproject commit a7412fccec0ba14e1a4f0135e53db002cb944924 diff --git a/src/main.cpp b/src/main.cpp index 261ba09..8f0ca89 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -131,11 +131,28 @@ int main() BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; BLT_TRACE(""); + +// for (const auto& [index, value] : blt::enumerate(part_a_inputs).rev()) +// BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; - for (const auto& [index, value] : blt::enumerate(part_a_inputs).rev()) - BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; - -// BLT_TRACE(blt::type_string()); + BLT_TRACE(""); + + BLT_TRACE_STREAM + << blt::meta::is_random_access_iterator + << '\n'; + + BLT_TRACE_STREAM + << blt::meta::is_bidirectional_iterator + << '\n'; + + BLT_TRACE_STREAM + << blt::meta::is_bidirectional_or_better + << '\n'; + +// auto d = blt::enumerate(part_a_inputs).rev(); +// BLT_TRACE(blt::type_string()); +// BLT_TRACE(blt::type_string()); + // BLT_TRACE(blt::type_string::iterator_category>()); // BLT_TRACE(blt::type_string()); // BLT_TRACE(blt::type_string());