#include "stdafx.h" #include "opcode_test_suite_t.h" opcode_test_suite_t::opcode_test_suite_t(const std::string path) noexcept : parser_t(path) {} #if __cplusplus >= 202002L EightBit::co_generator_t opcode_test_suite_t::generator() { for (const auto element : *this) co_yield test_t(element); } #else void opcode_test_suite_t::generator(boost::coroutines2::coroutine::push_type& sink) { for (const auto element : *this) sink(test_t(element)); } #endif