}
-FileName::FileName(FileName && rhs) noexcept
- : d(rhs.d)
-{
- rhs.d = nullptr;
-}
-
-
FileName::FileName(FileName const & rhs, string const & suffix) : d(new Private)
{
set(rhs, suffix);
}
-FileName & FileName::operator=(FileName && rhs) noexcept
-{
- auto temp = rhs.d;
- rhs.d = d;
- d = temp;
- return *this;
-}
-
-
bool FileName::empty() const
{
return d->name.empty();