GraphDom
Loading...
Searching...
No Matches
non_mixed_graph_labeled_vertex_container.h
1/*
2 * Copyright 2026 Michele Comparini
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef GRAPHDOM_NON_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
8#define GRAPHDOM_NON_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
9
10#include "../../graph.h"
11#include "../non_mixed_graph_vertex_container.h"
12#include "../non_mixed_graph_labeled_vertex_container.h"
13
14template <typename VertexType>
15template <typename VertexContainerPointerType, typename VertexLabelType>
17non_mixed_graph_labeled_vertex_container(const VertexType& v, const VertexLabelType& vl) :
18 non_mixed_graph_vertex_container<VertexContainerPointerType>(v),
19 vertex_label(vl) {}
20
21template <typename VertexType>
22template <typename VertexContainerPointerType, typename VertexLabelType>
24non_mixed_graph_labeled_vertex_container(const VertexType& v, VertexLabelType&& vl) :
25 non_mixed_graph_vertex_container<VertexContainerPointerType>(v),
26 vertex_label(std::move(vl)) {}
27
28template <typename VertexType>
29template <typename VertexContainerPointerType, typename VertexLabelType>
31non_mixed_graph_labeled_vertex_container(VertexType&& v, const VertexLabelType& vl) :
32 non_mixed_graph_vertex_container<VertexContainerPointerType>(std::move(v)),
33 vertex_label(vl) {}
34
35template <typename VertexType>
36template <typename VertexContainerPointerType, typename VertexLabelType>
38non_mixed_graph_labeled_vertex_container(VertexType&& v, VertexLabelType&& vl) :
39 non_mixed_graph_vertex_container<VertexContainerPointerType>(std::move(v)),
40 vertex_label(std::move(vl)) {}
41
42#endif //GRAPHDOM_NON_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition graph.h:43