コード例 #1
0
slirc::channeluser_list::iterator slirc::channeluser_list::insert(iterator position, const value_type &x) {
	slirc::channeluser_list::iterator ret = baseclass::insert(position, x);
	if (detacher) {
		x->attach(*this);
	}
	return ret;
}
コード例 #2
0
std::pair<slirc::channeluser_list::iterator, bool> slirc::channeluser_list::insert(const value_type &x) {
	std::pair<slirc::channeluser_list::iterator, bool> ret = baseclass::insert(x);
	if (detacher) {
		x->attach(*this);
	}
	return ret;
}