#include "sdsl/select_support_dummy.hpp"

namespace sdsl{

void init(const int_vector<1> *v){ }	

select_support_dummy::select_support_dummy(const int_vector<1> *v):select_support(v){ 
	init(v);
}


select_support_dummy::select_support_dummy(const select_support_dummy &ss):select_support(ss.m_v){
}


select_support_dummy& select_support_dummy::operator=(const select_support_dummy &ss){
	return *this;
}


void select_support_dummy::swap(select_support_dummy &ss){
}


select_support_dummy::~select_support_dummy(){ }



void select_support_dummy::init(const int_vector<1> *v){ }


const select_support_dummy::size_type select_support_dummy::select(size_type i)const {
	throw std::logic_error("select_dummy does not implement select");
	return 0;
}


const select_support_dummy::size_type select_support_dummy::operator()(size_type i)const {
	return select(i);
}

void select_support_dummy::set_vector(const int_vector<1> *v){ }

select_support_dummy::size_type select_support_dummy::serialize(std::ostream &out)const{
	return 0;
}

void select_support_dummy::load(std::istream &in, const int_vector<1> *v){ } 

bool select_support_dummy::operator==(const select_support_dummy &ss)const{
	return true;	
}

bool select_support_dummy::operator!=(const select_support_dummy &ss)const{
	return !(*this == ss);
}



}
