Subtle differences in C++

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);
};

Continue reading

Advertisements