halcheck 1.0
Loading...
Searching...
No Matches

◆ emplace() [2/3]

template<typename T >
template<typename I , typename... Args>
iterator halcheck::lib::dag< T >::emplace ( I first,
I last,
Args &&... args )
inline

Adds a node to this dag with its label constructed in place.

Template Parameters
IThe type of iterator pointing within a collection of parent nodes.
ArgsThe type of arguments used to construct the node's label.
Parameters
firstAn iterator pointing to the first parent node.
lastAn iterator pointing past the last parent node.
argsThe arguments used to construct the node's label.
Returns
An iterator pointing to the newly constructed node.