Example #1
0
void swap(Value &a, Value &b)
{
	using std::swap;
	swap(a.type_, b.type_);
	swap(a.data_, b.data_);
}
	SeparateChainingHashTable(SeparateChainingHashTable&& other) noexcept
	: SeparateChainingHashTable()
	{
		swap(other);
	}
 /**
  * Standard swap function.
  */
 friend void swap(self& lhs, self& rhs) { 
   using std::swap;
   swap(lhs.mean_state,rhs.mean_state);
   swap(lhs.E_inv,rhs.E_inv);
   swap(lhs.factor,rhs.factor);
 };
Example #4
0
void layer::swap(layer& rhs)
{
    using std::swap;
    swap(name_, rhs.name_);
    swap(srs_, rhs.srs_);
    swap(min_zoom_, rhs.min_zoom_);
    swap(max_zoom_, rhs.max_zoom_);
    swap(active_, rhs.active_);
    swap(queryable_, rhs.queryable_);
    swap(clear_label_cache_, rhs.clear_label_cache_);
    swap(cache_features_, rhs.cache_features_);
    swap(group_by_,  rhs.group_by_);
    swap(styles_, rhs.styles_);
    swap(ds_, rhs.ds_);
    swap(buffer_size_, rhs.buffer_size_);
    swap(maximum_extent_, rhs.maximum_extent_);
}
Example #5
0
	vertex_array( vertex_array&& other ) : id(invalid_id) { swap(*this, other); }
Example #6
0
void parent_info::swap(parent_info& other) noexcept {
    using std::swap;
    swap(name_, other.name_);
    swap(namespaces_, other.namespaces_);
    swap(properties_, other.properties_);
}
Example #7
0
assistant& assistant::operator=(assistant other) {
    using std::swap;
    swap(*this, other);
    return *this;
}
Example #8
0
SGWu& SGWu::operator=(SGWu src_obj) {

	swap(*this, src_obj);
	return *this;
}
Example #9
0
SGWu::SGWu(SGWu &&src_obj)
	:SGWu() {

	swap(*this, src_obj);
}
Example #10
0
TunUdata& TunUdata::operator=(TunUdata src_obj) {

	swap(*this, src_obj);
	return *this;
}
Example #11
0
TunUdata::TunUdata(TunUdata &&src_obj)
	:TunUdata() {

	swap(*this, src_obj);
}
Example #12
0
File: url.cpp Project: kod3r/swarm
url &url::operator =(const url &other)
{
	url tmp(other);
	swap(p, tmp.p);
	return *this;
}
Example #13
0
File: url.cpp Project: kod3r/swarm
url &url::operator =(url &&other)
{
	using std::swap;
	swap(p, other.p);
	return *this;
}
Example #14
0
File: url.cpp Project: kod3r/swarm
url::url(url &&other)
{
	using std::swap;
	swap(p, other.p);
}
void time_series_unversioned_key::swap(time_series_unversioned_key& other) noexcept {
    using std::swap;
    swap(id_, other.id_);
}
Example #16
0
void parent::swap(parent& other) noexcept {
    using std::swap;
    swap(prop_0_, other.prop_0_);
}
time_series_unversioned_key& time_series_unversioned_key::operator=(time_series_unversioned_key other) {
    using std::swap;
    swap(*this, other);
    return *this;
}
Example #18
0
class_b& class_b::operator=(class_b other) {
    using std::swap;
    swap(*this, other);
    return *this;
}
Example #19
0
parent_info& parent_info::operator=(parent_info other) {
    using std::swap;
    swap(*this, other);
    return *this;
}
Example #20
0
		void swap(counting_iterator& other) {
			using std::swap;
			swap(current_, other.current_);
		}
Example #21
0
layer& layer::operator=(layer const& rhs)
{
    layer tmp(rhs);
    swap(tmp);
    return *this;
}
Example #22
0
 void swap(stable_priority_queue<Type> &that) {
     using std::swap;
     swap(sequence_, that.sequence_);
     swap(compare_, that.compare_);
     swap(heap_, that.heap_);
 }
Example #23
0
	friend void swap( vertex_array& lhs, vertex_array& rhs )
	{
		using std::swap;
		swap(lhs.id, rhs.id);
	}
Example #24
0
	String::String( String && other )
	{
		Initialize();
		swap( std::move( other ) );
	}
Example #25
0
	vertex_array& operator=( vertex_array lhs ) { swap(*this, lhs); return *this; }
Example #26
0
	String & String::operator=( String && other )
	{
		swap( std::move( other ) );
		return *this;
	}
	SeparateChainingHashTable& operator=(SeparateChainingHashTable other)
	{
		swap(other);
		
		return *this;
	}
Example #28
0
location& location::operator=(location other) {
    using std::swap;
    swap(*this, other);
    return *this;
}
 /**
  * Standard assignment operator.
  */
 self& operator=(self rhs) {
   swap(*this,rhs);
   return *this;
 };
Example #30
0
Value &Value::operator=(const Value &value)
{
	Value copy = value;
	swap(copy, *this);
	return *this;
}