i hate this language

v1
Brett 2024-09-24 15:37:34 -04:00
parent 41d572a8f0
commit d5250b163a
3 changed files with 23 additions and 6 deletions

View File

@ -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)

@ -1 +1 @@
Subproject commit 7935e34ad4ee751f25c7664aa3b5d257f79135fe
Subproject commit a7412fccec0ba14e1a4f0135e53db002cb944924

View File

@ -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<decltype(blt::enumerate(part_a_inputs))::type>());
BLT_TRACE("");
BLT_TRACE_STREAM
<< blt::meta::is_random_access_iterator<decltype(part_a_inputs.begin())>
<< '\n';
BLT_TRACE_STREAM
<< blt::meta::is_bidirectional_iterator<decltype(part_a_inputs.begin())>
<< '\n';
BLT_TRACE_STREAM
<< blt::meta::is_bidirectional_or_better<decltype(part_a_inputs.begin())>
<< '\n';
// auto d = blt::enumerate(part_a_inputs).rev();
// BLT_TRACE(blt::type_string<decltype(d.begin())>());
// BLT_TRACE(blt::type_string<decltype(*++d.begin())>());
// BLT_TRACE(blt::type_string<std::iterator_traits<decltype(blt::enumerate(part_a_inputs))::type>::iterator_category>());
// BLT_TRACE(blt::type_string<decltype(blt::enumerate(part_a_inputs))::iter>());
// BLT_TRACE(blt::type_string<decltype(std::reverse_iterator{part_a_inputs.begin()})::iterator_category>());