void operator()(std::pair<info, info> const& pair) const { callback.element(tag, "", depth); boost::apply_visitor( this_type(callback, pair.first.tag, depth+1), pair.first.value); boost::apply_visitor( this_type(callback, pair.second.tag, depth+1), pair.second.value); }
void operator()(std::list<info> const& l) const { callback.element(tag, "", depth); BOOST_FOREACH(info const& what, l) { boost::apply_visitor( this_type(callback, what.tag, depth+1), what.value); }
typename fixed<FractalBits>::this_type& fixed<FractalBits>::operator =(int other) { this_type(other).swap(*this); return *this; }
auto_close<HANDLE> & auto_close<HANDLE>::operator = (this_type && rhs) { if (this != (this_type*)&(size_t&)rhs) // amazing operator & bypass this_type(std::move(rhs)).swap(*this); return *this; }
auto_close<HANDLE> & auto_close<HANDLE>::operator = (const this_type & rhs) { if (this != &rhs) this_type(rhs).swap(*this); return *this; }
void reset(T *r = 0) { this_type(r).swap(*this); }
intrusive_ptr& operator=(T *r) { this_type(r).swap(*this); return *this; }
Item::this_type Item::restart(SC_HANDLE scm, const wchar_t* name) { return simstd::move(this_type(scm, name, SERVICE_STOP | SERVICE_START | SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS).stop().wait_state(State::STOPPED, 30000).start()); }
Start Item::get_start_type(SC_HANDLE scm, const wchar_t* name) { return this_type(scm, name, SERVICE_QUERY_CONFIG).get_start_type(); }
ustring Item::get_description(SC_HANDLE scm, const wchar_t* name) { return this_type(scm, name, SERVICE_QUERY_CONFIG).get_description(); }
Status Item::get_status(SC_HANDLE scm, const wchar_t* name) { return this_type(scm, name, SERVICE_QUERY_STATUS).get_status(); }
Item::this_type Item::pause(SC_HANDLE scm, const wchar_t* name) { return simstd::move(this_type(scm, name, SERVICE_STOP | SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS).pause()); }
Item::this_type Item::contin(SC_HANDLE scm, const wchar_t* name) { return simstd::move(this_type(scm, name, SERVICE_START | SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS).contin()); }
typename fixed<FractalBits>::this_type& fixed<FractalBits>::operator =(floating_point_type other) { this_type(other).swap(*this); return *this; }
void operator()(info const& what) const { boost::apply_visitor( this_type(callback, what.tag, depth+1), what.value); }
this_type& operator =(Arg&& other) { this_type(other).swap(*this); return *this; }
Item::this_type Item::start(SC_HANDLE scm, PCWSTR name) { return simstd::move(this_type(scm, name, SERVICE_START | SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS).start()); }