#include "path.h" Path& Path::append(const Path& p) { // paths.push_back(std::make_unique(p.copy())); return *this; } Path& Path::append(int b) { // paths.push_back(std::make_unique(*source, b)); return *this; } // Path&& Path::copy() const // { // Path ret; // ret.source = source; // ret.branchTaken = branchTaken; // for (auto& s : paths) { // ret.append(*s); // } // return std::move(ret); // } // Path& Path::operator=(Path&& p) // { // source = p.source; // branchTaken = p.branchTaken; // paths = std::move(p.paths); // }