File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
include/beman/any_view/detail Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 33#ifndef BEMAN_ANY_VIEW_DETAIL_UNIQUE_ADDRESS_HPP
44#define BEMAN_ANY_VIEW_DETAIL_UNIQUE_ADDRESS_HPP
55
6- #if !defined(__has_include)
7- # if __has_include(<beman/any_view/config.hpp>)
8- # include < beman/any_view/config.hpp>
9- # endif
10- #else
6+ #if defined __has_include
7+ #if __has_include(<beman/any_view/config.hpp>)
8+ #include < beman/any_view/config.hpp>
9+ #endif // __has_include(<beman/any_view/config.hpp>)
10+ #endif // defined __has_include
11+
1112// if the config.hpp file does not exist because this is in godbolt
1213// or another context where cmake is not run, default to the correct
1314// answer.
14- # if (_MSC_VER)
15- # define BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS () [[msvc::no_unique_address]]
16- # else
17- # define BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS () [[no_unique_address]]
18- # endif
19- #endif
15+ #if !defined BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS
16+ #if _MSC_VER
17+ #define BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS () [[msvc::no_unique_address]]
18+ #else
19+ #define BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS () [[no_unique_address]]
20+ #endif // _MSC_VER
21+ #endif // !defined BEMAN_ANY_VIEW_NO_UNIQUE_ADDRESS
2022
21- #endif
23+ #endif // BEMAN_ANY_VIEW_DETAIL_UNIQUE_ADDRESS_HPP
You can’t perform that action at this time.
0 commit comments