void _ctor(std::size_t port, const std::string& host_name) { hostent* host_ent; host_ent = ::gethostbyname(host_name.c_str()); _ctor(port, host_ent->h_name); }
string() : _m_size(0), _m_container(0) { _ctor(); }
string& operator=(const string& _Rhs) { if (*this != _Rhs)_ctor(); _copy(_Rhs); }
test_task() { _ctor(); }
tester(std::size_t threads, void* object) { _ctor(threads, object); }
tester(std::size_t threads = 0) { _ctor(threads); }
T StringBuffer_create(int hint) { if (hint <= 0) THROW(AssertException, "Illegal hint value"); return _ctor(hint); }
string(std::string _String) : _m_size(0), _m_container(0) { _ctor(_String.c_str()); }
socket(const std::string& host_name, std::size_t port) { _ctor(port, host_name); }
socket(const char* const ip, std::size_t port) { _ctor(port, ip); }
socket(std::size_t port) { _ctor(port); }
template <typename T, typename... Tp> inline T __init(Tp... params) { auto t = T(); t._ctor(params...); return t; }
template <typename T, typename... Tp> inline T* __new(Tp... params) { auto t = new T(); t->_ctor(params...); return t; }
string(char* _String) : _m_size(0), _m_container(0) { _ctor(_String); }
parser() : _m_filename(0) { _ctor(); }
string(const char* _String) : _m_size(0), _m_container(0) { _ctor(const_cast< char* >(_String)); }
parser(ev4::string<>& _FileName, std::size_t _BufferSize = 81) : _m_filename(0) { _ctor(_FileName, _BufferSize); }
cas_lock() { _ctor(); }
T StringBuffer_new(const char *s) { return StringBuffer_append(_ctor(STRLEN), "%s", s); }