Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/gsl/dyn_array
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ namespace details
constexpr auto operator[](difference_type pos) const -> reference { return *(*this + pos); }

private:
#if defined(__GNUC__) && defined(__aarch64__) && !defined(__NO_INLINE__)
// workaround bug 108912 in g++ on aarch64
[[gnu::always_inline]]
#endif /* __GNUC__ && __aarch64__ && !__NO_INLINE__ */
constexpr dyn_array_iterator(pointer ptr, size_type pos, size_type end_pos)
: _ptr{ptr}, _pos{pos}, _end_pos{end_pos}
{
Expand Down
Loading