Loading [MathJax]/extensions/tex2jax.js
Iros
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Loading...
Searching...
No Matches
compiler.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef __clang__
4#define DI_CLANG 1
5#elif defined(__GNUC__)
6#define DI_GCC 1
7#elif defined(_MSC_VER)
8#define DI_MSVC 1
9#endif
10
11#ifdef DI_GCC
12// NOTE: GCC's [[no_unique_address]] is broken with immovable types...
13#define DI_IMMOVABLE_NO_UNIQUE_ADDRESS
14#else
15#define DI_IMMOVABLE_NO_UNIQUE_ADDRESS [[no_unique_address]]
16#endif