mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-24 13:35:40 +02:00
Made more of StringRef noexcept
This commit is contained in:
@@ -36,16 +36,16 @@ namespace Catch {
|
||||
void takeOwnership();
|
||||
|
||||
public: // construction/ assignment
|
||||
StringRef();
|
||||
StringRef( StringRef const& other );
|
||||
StringRef() noexcept;
|
||||
StringRef( StringRef const& other ) noexcept;
|
||||
StringRef( StringRef&& other ) noexcept;
|
||||
StringRef( char const* rawChars );
|
||||
StringRef( char const* rawChars, size_type size );
|
||||
StringRef( String const& other );
|
||||
StringRef( char const* rawChars ) noexcept;
|
||||
StringRef( char const* rawChars, size_type size ) noexcept;
|
||||
StringRef( String const& other ) noexcept;
|
||||
StringRef( String&& other ) noexcept;
|
||||
~StringRef() noexcept;
|
||||
|
||||
auto operator = ( StringRef other ) -> StringRef&;
|
||||
auto operator = ( StringRef other ) noexcept -> StringRef&;
|
||||
|
||||
void swap( StringRef& other ) noexcept;
|
||||
|
||||
|
Reference in New Issue
Block a user