// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. #ifndef INCLUDED_LIBGRAS_IMPL_TOKEN_HPP #define INCLUDED_LIBGRAS_IMPL_TOKEN_HPP #include #include namespace gras { typedef boost::weak_ptr WeakToken; struct Token : boost::shared_ptr { static Token make(void) { Token tok; tok.reset(new int(0)); return tok; } }; } //namespace gras #endif /*INCLUDED_LIBGRAS_IMPL_TOKEN_HPP*/