i hate this language
parent
41d572a8f0
commit
d5250b163a
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
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_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
2
lib/blt
2
lib/blt
|
@ -1 +1 @@
|
||||||
Subproject commit 7935e34ad4ee751f25c7664aa3b5d257f79135fe
|
Subproject commit a7412fccec0ba14e1a4f0135e53db002cb944924
|
23
src/main.cpp
23
src/main.cpp
|
@ -132,10 +132,27 @@ int main()
|
||||||
|
|
||||||
BLT_TRACE("");
|
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_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<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<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(blt::enumerate(part_a_inputs))::iter>());
|
||||||
// BLT_TRACE(blt::type_string<decltype(std::reverse_iterator{part_a_inputs.begin()})::iterator_category>());
|
// BLT_TRACE(blt::type_string<decltype(std::reverse_iterator{part_a_inputs.begin()})::iterator_category>());
|
||||||
|
|
Loading…
Reference in New Issue