forked from Alepha/Alepha
Unify everything to template_for
form.
This commit is contained in:
@ -206,7 +206,7 @@ namespace Alepha::Hydrogen::Testing ::detail:: TableTest_m
|
||||
|
||||
oss << std::endl << "Test inputs were: " << std::endl;
|
||||
int index= 0;
|
||||
tuple_for_each( params ) <=[&]( const auto ¶m )
|
||||
template_for( params ) <=[&]( const auto ¶m )
|
||||
{
|
||||
// Debugging output for test inputs is relaxed, as it's not required they be streamable?
|
||||
oss << "Argument " << index++ << ": " << streamAdaptValue< OutputMode::Relaxed >( param ) << std::endl;
|
||||
|
@ -108,7 +108,7 @@ namespace Alepha::Hydrogen::Testing ::detail:: printDebugging_m
|
||||
else if constexpr( Meta::is_tuple_v< T > )
|
||||
{
|
||||
oss << '[';
|
||||
tuple_for_each( v ) <=[&oss, first= true]( const auto &elem ) mutable
|
||||
template_for( v ) <=[&oss, first= true]( const auto &elem ) mutable
|
||||
{
|
||||
if( not first ) oss << ", ";
|
||||
first= false;
|
||||
|
Reference in New Issue
Block a user