robot_name: iteration 1

This commit is contained in:
Dmitry Kokorin 2016-03-06 17:29:16 +03:00
parent a882941d58
commit 7339e6a8bc
2 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,25 @@
#pragma once
#define EXERCISM_RUN_ALL_TESTS
#include <string>
namespace robot_name {
typedef std::string name_t;
class robot
{
name_t name_;
public:
robot();
void reset();
const name_t &name() const;
};
}