struct mrpt::containers::yaml::NodeMeta

Overview

Per-node comments (top, right, bottom).

Stored behind a unique_ptr so comment-free nodes (the common case) pay only 8 bytes.

#include <mrpt/containers/yaml.h>

struct NodeMeta
{
    // fields

    std::array<std::optional<std::string>, static_cast<size_t>CommentPosition::MAX)> comments;
};