Let’s start this post with a small C++ quiz. Consider the following class:
class Eater
{
public:
template <size_t N>
void Feed(const char (&str)[N]);
void Feed(const char* str);
};
Let’s start this post with a small C++ quiz. Consider the following class:
class Eater
{
public:
template <size_t N>
void Feed(const char (&str)[N]);
void Feed(const char* str);
};