示例#1
0
bool LLChainIOFactory::build(LLIOPipe* in, LLIOPipe* out) const
{
	if(!in || !out)
	{
		return false;
	}
	LLIOPipe* first = NULL;
	LLIOPipe* last = NULL;
	if(build_impl(first, last) && first && last)
	{
		in->connect(first);
		last->connect(out);
		return true;
	}
	LLIOPipe::ptr_t foo(first);
	LLIOPipe::ptr_t bar(last);
	return false;
}
示例#2
0
void Fastcgipp::SQL::Parameters<Types...>::build_impl()
{
    m_oids = &s_oids;
    m_formats = &s_formats;
    build_impl(std::index_sequence_for<Types...>{});
}