blob: 25dc1a44f2e53d36101227fe920b2d7b125383d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* NoExcept.h
*
* Some compilers (hello microsoft!) do not yet support the "noexcept"
* keyword. To overcome this, we use a macro that expands to "noexcept"
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @author atvive <https://github.com/atvise>
*/
/**
* Macro to be able to support MSVC compiler
*/
#ifndef _NOEXCEPT
# ifndef _MSC_VER
# define _NOEXCEPT noexcept
# else
# define _NOEXCEPT __declspec(nothrow)
# endif
#endif
|