Compare commits

..

2 Commits

Author SHA1 Message Date
Dmitry Kobets 4c6f7b2923 Mark dynamic_extent as inline, compiler-version-permitting 2022-07-01 10:23:21 -07:00
Dmitry Kobets be0a8a2caa Test solution 2022-07-01 10:23:11 -07:00
2 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
echo "Emulator starting"
- name: Configure
run: cmake -Werror=dev -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=16 -DANDROID_ABI=x86_64 -DCMAKE_BUILD_TYPE=Debug ..
run: cmake -Werror=dev -DCMAKE_TOOLCHAIN_FILE=$ANDROID_HOME/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=16 -DANDROID_ABI=x86_64 -DCMAKE_BUILD_TYPE=Debug ..
- name: Build
run: cmake --build . --parallel
+6 -8
View File
@@ -343,18 +343,16 @@ namespace details
};
}} // namespace gsl::details
namespace std
{
template <class Type>
struct pointer_traits<::gsl::details::span_iterator<Type>>
{
using pointer = ::gsl::details::span_iterator<Type>;
using element_type = Type;
struct std::pointer_traits<::gsl::details::span_iterator<Type>> {
using pointer = ::gsl::details::span_iterator<Type>;
using element_type = Type;
using difference_type = ptrdiff_t;
static constexpr element_type* to_address(const pointer i) noexcept { return i.current_; }
static constexpr element_type* to_address(const pointer i) noexcept {
return i.current_;
}
};
} // namespace std
namespace gsl { namespace details {
template <std::size_t Ext>