forked from Alepha/Alepha
begin
and end
need conditional noexcept
.
The specializations and overlaods need to match what's in the standard library.
This commit is contained in:
@ -448,8 +448,8 @@ namespace Alepha::Hydrogen::inline exports::inline Buffer_m
|
||||
|
||||
template<>
|
||||
constexpr auto
|
||||
std::cbegin( const ::Alepha::Hydrogen::Buffer< Alepha::Hydrogen::Mutable > &range ) -> decltype( range.begin() )= delete;
|
||||
std::cbegin( const ::Alepha::Hydrogen::Buffer< Alepha::Hydrogen::Mutable > &range ) noexcept( noexcept( std::begin( range ) ) ) -> decltype( range.begin() )= delete;
|
||||
|
||||
template<>
|
||||
constexpr auto
|
||||
std::cend( const ::Alepha::Hydrogen::Buffer< Alepha::Hydrogen::Mutable > &range ) -> decltype( range.end() )= delete;
|
||||
std::cend( const ::Alepha::Hydrogen::Buffer< Alepha::Hydrogen::Mutable > &range ) noexcept( noexcept( std::end( range ) ) ) -> decltype( range.end() )= delete;
|
||||
|
Reference in New Issue
Block a user