We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41875f3 commit 27e7336Copy full SHA for 27e7336
include/libgetargv++.hpp
@@ -184,6 +184,9 @@ namespace Getargv {
184
*/
185
auto operator[](ptrdiff_t index) const -> char&;
186
187
+ auto operator=(Argv&& other) -> Argv& = default;
188
+ auto operator=(Argv& other) -> Argv& = delete;
189
+
190
/** \brief returns the number of bytes in the arguments this struct
191
* represents.
192
*
@@ -382,6 +385,9 @@ namespace Getargv {
382
385
383
386
auto operator[](ptrdiff_t index) const -> char*&;
384
387
388
+ auto operator=(ArgvArgc&& other) -> ArgvArgc& = default;
389
+ auto operator=(ArgvArgc& other) -> ArgvArgc& = delete;
390
391
/** \brief returns the number of arguments this struct represents
392
393
* \returns the number of arguments this struct represents
0 commit comments