forked from Alepha/Alepha
Fix lifetime issues for table testing params.
This commit is contained in:
@ -10,6 +10,7 @@ static_assert( __cplusplus > 201700, "C++17 Required" );
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include <Alepha/Meta/is_vector.h>
|
#include <Alepha/Meta/is_vector.h>
|
||||||
|
#include <Alepha/Meta/product_type_decay.h>
|
||||||
#include <Alepha/Utility/evaluation.h>
|
#include <Alepha/Utility/evaluation.h>
|
||||||
#include <Alepha/console.h>
|
#include <Alepha/console.h>
|
||||||
|
|
||||||
@ -29,7 +30,7 @@ namespace Alepha::Hydrogen::Testing
|
|||||||
template< typename RetVal, typename ... Args, RetVal (*function)( Args... ) >
|
template< typename RetVal, typename ... Args, RetVal (*function)( Args... ) >
|
||||||
struct exports::TableTest< function >
|
struct exports::TableTest< function >
|
||||||
{
|
{
|
||||||
using args_type= std::tuple< Args... >;
|
using args_type= Meta::product_type_decay_t< std::tuple< Args... > >;
|
||||||
|
|
||||||
struct Cases
|
struct Cases
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user