#include <iostream>
using namespace std;


void f(...) {
	cout << "That one wasn't a string literal." << endl;
}

template<size_t N>
void f(const char (&s)[N]) {
	cout << "String literal: \"" << s << '"' << endl;
}


int main() {
	f("foo");
	
	const char *bar = "bar";
	f(bar);
	
	const char baz[] = "baz";
	f(baz);
	
	return 0;
}