10 #ifndef META_UTIL_PERSISTENT_STACK_H_
11 #define META_UTIL_PERSISTENT_STACK_H_
30 const T& peek()
const;
32 uint64_t size()
const;
37 using std::runtime_error::runtime_error;
43 node(T item, std::shared_ptr<node> previous);
46 std::shared_ptr<node> prev;
51 std::shared_ptr<node> head_;