I have a structure that looks something like this:
struct foo_t
{
template <std::size_t x, std::size_t y>
std::size_t operator()() const
{ return ; }
};
The definition seems to compile fine, but what should I call it? I can't seem to get anything from the compiler:
foo_t foo;
foo<3, 3>();
source
share