You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing issue #921, I noticed that ETL doesn't have a nullptr_t. Are you for or against having an etl::nullptr_t type, and if you wouldn't mind having it, what do you think of implementing <etl/nullptr.h> like this instead?
namespaceetl
{
#if ETL_CPP11_NOT_SUPPORTED
// Use the old style C++ NULL definition.typedefenum { _nullptr = 0 } nullptr_t;
#defineETL_NULLPTR (etl::_nullptr)
#else// Use the new style nullptr.typedefdecltype(nullptr) nullptr_t;
#defineETL_NULLPTRnullptr
#endif
} // namespace etl
The text was updated successfully, but these errors were encountered:
Seeing issue #921, I noticed that ETL doesn't have a
nullptr_t
. Are you for or against having anetl::nullptr_t
type, and if you wouldn't mind having it, what do you think of implementing <etl/nullptr.h> like this instead?The text was updated successfully, but these errors were encountered: