Files
cmake-examples/05-unit-testing/boost/Reverse.h
2015-12-01 22:51:53 +00:00

16 lines
291 B
C++

#ifndef __REVERSE_H__
#define __REVERSE_H__
#include <string>
/**
* 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