Implements some missing functions

See merge request oss/rotgen!28
This commit is contained in:
Joel Falcou 2025-09-28 16:15:15 +02:00
parent 5d8a084070
commit b6fcd4b341
34 changed files with 972 additions and 139 deletions

View file

@ -11,8 +11,6 @@
This file is a X-File to generate various block_impl_* definitions variant
*/
//==================================================================================================
#define STR(text) STR_I(text)
#define STR_I(...) #__VA_ARGS__
//==================================================================================================
// Internal payload
@ -107,7 +105,11 @@ struct CLASSNAME::payload
return *this;
}
CLASSNAME& CLASSNAME::operator=(CLASSNAME&&) noexcept = default;
CLASSNAME& CLASSNAME::operator=(CLASSNAME&& o) noexcept
{
if (this != &o) { storage_->data = std::move(o.storage_->data); }
return *this;
}
#endif