Download data/miniconda3/include/yaml-cpp/node/detail/memory.h from assassinlike/everything132: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/yaml-cpp/node/detail/memory.h
- Command line
-
hf download hf://datasets/assassinlike/everything132/data/miniconda3/include/yaml-cpp/node/detail/memory.h
-
curl -L -o memory.h https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/yaml-cpp/node/detail/memory.h
1.1 kB
| namespace YAML { | |
| namespace detail { | |
| class node; | |
| } // namespace detail | |
| } // namespace YAML | |
| namespace YAML { | |
| namespace detail { | |
| class YAML_CPP_API memory { | |
| public: | |
| memory() : m_nodes{} {} | |
| node& create_node(); | |
| void merge(const memory& rhs); | |
| private: | |
| using Nodes = std::set<shared_node>; | |
| Nodes m_nodes; | |
| }; | |
| class YAML_CPP_API memory_holder { | |
| public: | |
| memory_holder() : m_pMemory(new memory) {} | |
| node& create_node() { return m_pMemory->create_node(); } | |
| void merge(memory_holder& rhs); | |
| private: | |
| shared_memory m_pMemory; | |
| }; | |
| } // namespace detail | |
| } // namespace YAML | |