// Header guard for Pstring.h
#ifndef PSTRING_
#define PSTRING_

// Include statements
#include <iostream>
#include <string>
#include <algorithm>

// Declare std namespace
using namespace std;

// Class definition for Pstring, derived from STL string class
class Pstring : public string {

	public:
		Pstring() = default;
		Pstring(string input) : string(input) {}; // Constructor for Pstring that calls string constructor
		bool isPalindrome(); // Function to check if object string is a palindrome

};

#endif
