MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / emplace

Method emplace

extern/boost/boost/container/vector.hpp:1859–1866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857 //! Linear time otherwise.
1858 template<class ...Args>
1859 BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
1860 {
1861 BOOST_ASSERT(this->priv_in_range_or_end(position));
1862 //Just call more general insert(pos, size, value) and return iterator
1863 typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
1864 return this->priv_insert_forward_range( vector_iterator_get_ptr(position), 1
1865 , proxy_t(::boost::forward<Args>(args)...));
1866 }
1867
1868 #else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
1869

Callers 3

vectorClass · 0.95
priv_insertFunction · 0.45
make_ready_futureFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected