diff options
author | Timo Weingärtner <timo@tiwe.de> | 2014-03-23 23:40:49 +0100 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2014-03-23 23:40:49 +0100 |
commit | 7d0f47c171b716b7e138157f8165ebf790227582 (patch) | |
tree | dca35435ef92ff1503cd3e1d03c558c359d961a2 /rfc4251.h | |
parent | f4343c2060ea70639dfc7c9a5eeb70f0b5ec5697 (diff) | |
download | ssh-agent-filter-7d0f47c171b716b7e138157f8165ebf790227582.tar.gz |
rfc4251string: add more operators
this adds <= > >= !=
Diffstat (limited to 'rfc4251.h')
-rw-r--r-- | rfc4251.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ #include <stdexcept> #include <arpa/inet.h> // ntohl() / htonl() #include <gmpxx.h> +#include <boost/operators.hpp> struct rfc4251byte { union { @@ -136,7 +137,7 @@ inline std::ostream & operator<< (std::ostream & os, rfc4251uint64 const & x) { } -struct rfc4251string { +struct rfc4251string : boost::totally_ordered<rfc4251string> { std::vector<char> value; rfc4251string () = default; |