Improve the readability of STBase-derived types

* Increase the visibility of each type's API.
* No functional changes.
This commit is contained in:
Howard Hinnant
2021-10-07 16:12:31 -04:00
committed by Nik Bougalis
parent 72377e7bf2
commit 74e6ed1af3
24 changed files with 2145 additions and 1425 deletions

View File

@@ -53,6 +53,18 @@ STBase::operator!=(const STBase& t) const
return (getSType() != t.getSType()) || !isEquivalent(t);
}
STBase*
STBase::copy(std::size_t n, void* buf) const
{
return emplace(n, buf, *this);
}
STBase*
STBase::move(std::size_t n, void* buf)
{
return emplace(n, buf, std::move(*this));
}
SerializedTypeID
STBase::getSType() const
{