Replaced std::int64_t with long long
<cstdint> is C++11.
Added missing Node::operator= overloads
Reduced code duplication in Node::set with a macro