diff --git a/include/libgetargv++.hpp b/include/libgetargv++.hpp index f877724..470eb22 100644 --- a/include/libgetargv++.hpp +++ b/include/libgetargv++.hpp @@ -184,6 +184,9 @@ namespace Getargv { */ auto operator[](ptrdiff_t index) const -> char&; + auto operator=(Argv&& other) -> Argv& = default; + auto operator=(Argv& other) -> Argv& = delete; + /** \brief returns the number of bytes in the arguments this struct * represents. * @@ -382,6 +385,9 @@ namespace Getargv { */ auto operator[](ptrdiff_t index) const -> char*&; + auto operator=(ArgvArgc&& other) -> ArgvArgc& = default; + auto operator=(ArgvArgc& other) -> ArgvArgc& = delete; + /** \brief returns the number of arguments this struct represents * * \returns the number of arguments this struct represents