We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d01f3d commit 7b383aaCopy full SHA for 7b383aa
boost/network/uri/basic_uri.hpp
@@ -78,7 +78,7 @@ struct uri_base {
78
}
79
80
string_type raw() const {
81
- return string();
+ return raw_;
82
83
84
string_type string() const {
@@ -116,6 +116,18 @@ class basic_uri : public uri_base<Tag> {
116
basic_uri() : uri_base<Tag>() {}
117
basic_uri(typename uri_base<Tag>::string_type const & uri) : uri_base<Tag>(uri) {}
118
119
+ basic_uri & operator= (basic_uri & rhs) {
120
+ rhs.swap(*this);
121
+ return *this;
122
+ }
123
+
124
+ void swap(basic_uri & other) {
125
+ uri_base<Tag>::swap(other);
126
127
128
+ using uri_base<Tag>::operator==;
129
+ using uri_base<Tag>::operator!=;
130
131
};
132
133
template <class Tag>
0 commit comments