memgraph/poc/isolation/db.hpp
Kruno Tomola Fabro 77a3298d1e tmp
2016-08-28 15:47:13 +01:00

26 lines
321 B
C++

#include <string>
class Accessor
{
public:
char before = ~((char)-1);
int data = 0;
size_t after = ~((size_t)-1);
};
class Name
{
public:
Name(const char *str) : name(std::string(str)) {}
std::string name;
};
class Db
{
public:
int accessed = 0;
int data = 0;
Name name = {"name"};
};