* Reference-counted pointer template. */
/*
- * GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2018 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// and makewritable() requires locking.
public:
- // no default ctor: a ptr is never unbound
+ // no default ctor: a ptr is never unbound
/** Bind ptr to newly created object, start reference counting. */
ptr(T *t) noexcept : p(t) { GINAC_ASSERT(p); p->set_refcount(1); }