Files
include/fxsaber/TesterCache/TestInputRange.mqh
T
2025-02-07 19:08:31 +03:30

14 lines
530 B
Plaintext

template <typename T>
struct TestInputRange
{
T Start;
T Step;
T Stop;
#define TOSTRING(A) #A + " = " + (string)(A) + "\n"
string ToString( void ) const
{
return(TOSTRING(Start) + TOSTRING(Step) + TOSTRING(Stop));
}
#undef TOSTRING
};