diff --git a/include/yaml-cpp/node/iterator.h b/include/yaml-cpp/node/iterator.h index b447238..080ec76 100644 --- a/include/yaml-cpp/node/iterator.h +++ b/include/yaml-cpp/node/iterator.h @@ -15,6 +15,8 @@ #include #include +static_assert(std::is_constructible::value, "Node must be copy constructable"); + namespace YAML { namespace detail { struct iterator_value : public Node, std::pair {