木头云 cf5738eb3a fix(test): replace C++17 structured bindings with C++14 compatible code
Problem:
- Two test cases in test_buffer.cpp used structured bindings (auto [a, b])
- Structured bindings are a C++17 feature
- Project requires C++14 compatibility

Solution:
- Replace 'auto [ptr, size] = buf.to_tuple()' with C++14 compatible code
- Use std::get<N>() to extract tuple elements
- Modified tests: ToTupleNonConst, ToTupleConst

Changes:
- Line 239: Use std::get<0/1>(tuple) instead of structured binding
- Line 252: Use std::get<0/1>(tuple) instead of structured binding
- Add explanatory comments for clarity

This ensures the test suite compiles with C++14 standard.
2025-11-30 11:16:03 +00:00
..
archive chore(test): archive existing test cases to test/archive 2025-11-30 04:04:10 +00:00
CMakeLists.txt build(test): update CMakeLists.txt for new test structure 2025-11-30 04:16:41 +00:00
test_buffer.cpp fix(test): replace C++17 structured bindings with C++14 compatible code 2025-11-30 11:16:03 +00:00
test_condition.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_ipc_channel.cpp fix(test): correct receiver loop count in MultipleSendersReceivers 2025-11-30 06:38:38 +00:00
test_locks.cpp fix(test): correct test logic and semantics in multiple test cases 2025-11-30 06:06:54 +00:00
test_mutex.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_semaphore.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_shm.cpp fix(test): correct test logic and semantics in multiple test cases 2025-11-30 06:06:54 +00:00