File tree Expand file tree Collapse file tree 6 files changed +33
-6
lines changed
include/beman/any_view/detail Expand file tree Collapse file tree 6 files changed +33
-6
lines changed Original file line number Diff line number Diff line change 4141 - name : Install Ninja
4242 uses : lukka/get-cmake@latest
4343 with :
44- cmakeVersion : ~3.25 .0
44+ cmakeVersion : ~3.28 .0
4545 ninjaVersion : ^1.11.1
4646 - name : Setup MSVC
4747 if : startsWith(matrix.platform.os, 'windows')
@@ -104,7 +104,7 @@ jobs:
104104 - name : Setup build environment
105105 uses : lukka/get-cmake@latest
106106 with :
107- cmakeVersion : ~3.25 .0
107+ cmakeVersion : ~3.28 .0
108108 ninjaVersion : ^1.11.1
109109 - name : Install Compiler
110110 id : install-compiler
Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22
33/.cache
4- /.vscode
54/compile_commands.json
65/build
6+
7+ # ignore emacs temp files
8+ * ~
9+ \# * \#
10+
11+ # ignore vscode settings
12+ .vscode
Original file line number Diff line number Diff line change 44#define BEMAN_ANY_VIEW_DETAIL_ANY_ITERATOR_HPP
55
66#include < beman/any_view/concepts.hpp>
7- #include < beman/any_view/config.hpp>
87#include < beman/any_view/detail/intrusive_small_ptr.hpp>
98#include < beman/any_view/detail/iterator_adaptor.hpp>
9+ #include < beman/any_view/detail/unique_address.hpp>
1010
1111namespace beman ::any_view::detail {
1212
Original file line number Diff line number Diff line change 33#ifndef BEMAN_ANY_VIEW_DETAIL_ITERATOR_ADAPTOR_HPP
44#define BEMAN_ANY_VIEW_DETAIL_ITERATOR_ADAPTOR_HPP
55
6- #include < beman/any_view/config.hpp>
76#include < beman/any_view/detail/concepts.hpp>
87#include < beman/any_view/detail/iterator_interface.hpp>
8+ #include < beman/any_view/detail/unique_address.hpp>
99#include < beman/any_view/detail/utility.hpp>
1010
1111#include < compare>
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
3+ #ifndef BEMAN_ANY_VIEW_DETAIL_UNIQUE_ADDRESS_HPP
4+ #define BEMAN_ANY_VIEW_DETAIL_UNIQUE_ADDRESS_HPP
5+
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
11+ // if the config.hpp file does not exist because this is in godbolt
12+ // or another context where cmake is not run, default to the correct
13+ // 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
20+
21+ #endif
Original file line number Diff line number Diff line change 33#ifndef BEMAN_ANY_VIEW_DETAIL_VIEW_ADAPTOR_HPP
44#define BEMAN_ANY_VIEW_DETAIL_VIEW_ADAPTOR_HPP
55
6- #include < beman/any_view/config .hpp>
6+ #include < beman/any_view/detail/unique_address .hpp>
77#include < beman/any_view/detail/view_interface.hpp>
88
99namespace beman ::any_view::detail {
You can’t perform that action at this time.
0 commit comments