mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix #323 - Badly positioned noexcept
This commit is contained in:
parent
f3e660a5a5
commit
582ae8c87f
2
gsl/span
2
gsl/span
@ -179,7 +179,7 @@ namespace details
|
|||||||
using pointer = std::add_pointer_t<value_type>;
|
using pointer = std::add_pointer_t<value_type>;
|
||||||
using reference = std::add_lvalue_reference_t<value_type>;
|
using reference = std::add_lvalue_reference_t<value_type>;
|
||||||
|
|
||||||
constexpr span_iterator() : span_iterator(nullptr, 0) noexcept {}
|
constexpr span_iterator() noexcept : span_iterator(nullptr, 0) {}
|
||||||
|
|
||||||
constexpr span_iterator(const Span* span, typename Span::index_type index)
|
constexpr span_iterator(const Span* span, typename Span::index_type index)
|
||||||
: span_(span), index_(index)
|
: span_(span), index_(index)
|
||||||
|
Loading…
Reference in New Issue
Block a user