#ifndef __REVERSE_H__ #define __REVERSE_H__ #include /** * Trivial class whose only function is to reverse a string. * Should use std::reverse instead but want to have example with own class */ class Reverse { public: std::string reverse(std::string& toReverse); }; #endif