diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-08-26 11:56:14 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-08-31 18:15:56 +0200 |
commit | b7ece6c5ba3670e653ce19d759e6cfb48e6cf4ff (patch) | |
tree | 88ba596b4ea7121b81b158d4ba2c8285adc2466b /rfc4251.h | |
parent | 19e42fff7ce4529720c0255e70c547a277cd9663 (diff) | |
download | ssh-agent-filter-b7ece6c5ba3670e653ce19d759e6cfb48e6cf4ff.tar.gz |
remove declarations for default copy and move
Diffstat (limited to 'rfc4251.h')
-rw-r--r-- | rfc4251.h | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -42,14 +42,8 @@ struct rfc4251byte { }; rfc4251byte () = default; - rfc4251byte (rfc4251byte const &) = default; - rfc4251byte (rfc4251byte &&) = default; - inline explicit rfc4251byte (uint8_t v) : value(v) {} - rfc4251byte & operator= (rfc4251byte const &) = default; - rfc4251byte & operator= (rfc4251byte &&) = default; - inline operator uint8_t () const { return value; } }; @@ -69,13 +63,8 @@ struct rfc4251bool { }; rfc4251bool () = default; - rfc4251bool (rfc4251bool const &) = default; - rfc4251bool (rfc4251bool &&) = default; - inline explicit rfc4251bool (uint8_t v) : value(v) {} - rfc4251bool & operator= (rfc4251bool const &) = default; - rfc4251bool & operator= (rfc4251bool &&) = default; inline operator uint8_t () const { return value; } }; @@ -96,13 +85,8 @@ struct rfc4251uint32 { }; rfc4251uint32 () = default; - rfc4251uint32 (rfc4251uint32 const &) = default; - rfc4251uint32 (rfc4251uint32 &&) = default; - inline explicit rfc4251uint32 (uint32_t v) { value = htonl(v); } - rfc4251uint32 & operator= (rfc4251uint32 const &) = default; - rfc4251uint32 & operator= (rfc4251uint32 &&) = default; inline operator uint32_t () const { return ntohl(value); } }; @@ -123,14 +107,8 @@ struct rfc4251uint64 { }; rfc4251uint64 () = default; - rfc4251uint64 (rfc4251uint64 const &) = default; - rfc4251uint64 (rfc4251uint64 &&) = default; - inline explicit rfc4251uint64 (uint64_t v); - rfc4251uint64 & operator= (rfc4251uint64 const &) = default; - rfc4251uint64 & operator= (rfc4251uint64 &&) = default; - inline explicit operator uint64_t () const; }; @@ -163,9 +141,6 @@ struct rfc4251string { std::vector<char> value; rfc4251string () = default; - rfc4251string (rfc4251string const &) = default; - rfc4251string (rfc4251string &&) = default; - inline explicit rfc4251string (char const *); inline explicit rfc4251string (char const *, size_t); inline explicit rfc4251string (std::string const & s) : rfc4251string{s.data(), s.size()} {} @@ -173,9 +148,6 @@ struct rfc4251string { inline explicit rfc4251string (mpz_srcptr); inline explicit rfc4251string (mpz_class const & x) : rfc4251string{x.get_mpz_t()} {} - rfc4251string & operator= (rfc4251string const &) = default; - rfc4251string & operator= (rfc4251string &&) = default; - inline operator std::string () const; inline operator std::vector<std::string> () const; inline operator mpz_class () const; |