GraphDom
Loading...
Searching...
No Matches
vertex_container.h
1/*
2 * Copyright 2026 Michele Comparini
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef GRAPHDOM_VERTEX_CONTAINER_H
8#define GRAPHDOM_VERTEX_CONTAINER_H
9
10#include "../graph.h"
11
12namespace graphdom {
13 template <typename VertexType>
14 class graph<VertexType>::vertex_container {
15 public:
16 vertex_container() = delete;
17 vertex_container(const vertex_container&) = delete;
18 vertex_container(vertex_container&&) = delete;
19 explicit vertex_container(const VertexType& v);
20 explicit vertex_container(VertexType&& v);
21
22 ~vertex_container() = default;
23
24 VertexType vertex;
25 };
26}
27
28#include "impl/vertex_container.h"
29
30#endif //GRAPHDOM_VERTEX_CONTAINER_H
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition graph.h:43
Definition adj_list.h:16