X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fmeta.h;h=35373013e5eb91d6faceae24592dcd298f4b1280;hp=6998c5d1b8a712d69176a556e7c677bb745b9ec2;hb=641a71730a0135fe647f6a230e9704d8b677f2c5;hpb=44da9fc9afb6b7e49c1558c5572213a1e6f401e8 diff --git a/source/core/meta.h b/source/core/meta.h index 6998c5d..3537301 100644 --- a/source/core/meta.h +++ b/source/core/meta.h @@ -2,42 +2,46 @@ #define MSP_CORE_META_H_ #include +#include "attributes.h" namespace Msp { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" template -struct RemoveConst +struct DEPRECATED RemoveConst { typedef T Type; }; template -struct RemoveConst +struct DEPRECATED RemoveConst { typedef T Type; }; template -struct RemoveReference +struct DEPRECATED RemoveReference { typedef T Type; }; template -struct RemoveReference +struct DEPRECATED RemoveReference { typedef T Type; }; template -struct RemoveConstReference +struct DEPRECATED RemoveConstReference { typedef typename RemoveConst::Type>::Type Type; }; template -struct EnableIf; +struct DEPRECATED EnableIf; template -struct EnableIf +struct DEPRECATED EnableIf { typedef R Yes; }; template -struct EnableIf +struct DEPRECATED EnableIf { typedef R No; }; +#pragma GCC diagnostic pop /**