Bug 1625138 - Part 20: Replace mozilla::IsVolatile with std::is_volatile. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D68375

--HG--
extra : moz-landing-system : lando
This commit is contained in:
André Bargull 2020-03-28 13:57:16 +00:00
Родитель 1455e95dc1
Коммит 0731a50d34
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -133,19 +133,6 @@ struct IsFunction : public detail::IsFunPtr<typename RemoveCV<T>::Type*> {};
/* 20.9.4.3 Type properties [meta.unary.prop] */
/**
* IsVolatile determines whether a type is volatile or not.
*
* mozilla::IsVolatile<int>::value is false;
* mozilla::IsVolatile<void* volatile>::value is true;
* mozilla::IsVolatile<volatile char*>::value is false.
*/
template <typename T>
struct IsVolatile : FalseType {};
template <typename T>
struct IsVolatile<volatile T> : TrueType {};
/**
* Traits class for identifying POD types. Until C++11 there's no automatic
* way to detect PODs, so for the moment this is done manually. Users may