Brett 2024-09-23 23:20:57 -04:00
parent d802cff324
commit 41d572a8f0
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.25)
project(COSC-4P80-Assignment-1 VERSION 0.0.10) project(COSC-4P80-Assignment-1 VERSION 0.0.11)
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

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

View File

@ -130,9 +130,17 @@ int main()
for (const auto& [index, value] : blt::enumerate(part_a_inputs)) for (const auto& [index, value] : blt::enumerate(part_a_inputs))
BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n';
BLT_TRACE("");
for (const auto& [index, value] : blt::enumerate(part_a_inputs).rev()) for (const auto& [index, value] : blt::enumerate(part_a_inputs).rev())
BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; 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::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>());
// std::cout << std::iterator_traits<decltype(blt::enumerate(part_a_inputs))::type>::iterator_category << std::endl;
part_a(); part_a();
part_b(); part_b();
part_c(); part_c();