forked from Alepha/Alepha
Match noexcept on cbegin/cend deletions to std.
This silences some warnings for standard libraries where these functions are `noexcept`.
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