Hedgehog  3.1.0
A library to generate hybrid pipeline workflow systems
Loading...
Searching...
No Matches
hh::tool::CopyableNode Concept Reference

Test if a node is copyable (copy method is callable and has a the right return type) More...

#include "concepts.h"

Concept definition

template<class NodeType>
concept hh::tool::CopyableNode = requires(NodeType *n){
{ n->copy() };
std::is_same_v<decltype(n->copy()), std::shared_ptr<NodeType>>;
}
Test if a node is copyable (copy method is callable and has a the right return type)
Definition: concepts.h:253

Detailed Description

Test if a node is copyable (copy method is callable and has a the right return type)

Template Parameters
NodeTypeType of the node

Definition at line 253 of file concepts.h.