1
0
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:
2025-09-06 18:38:48 -04:00
parent 4116db0103
commit fc5ebba241

View File

@ -448,8 +448,8 @@ namespace Alepha::Hydrogen::inline exports::inline Buffer_m
template<> template<>
constexpr auto 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<> template<>
constexpr auto 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;