Maki
Loading...
Searching...
No Matches
path.hpp
1
//Copyright Florian Goujeon 2021 - 2025.
2
//Distributed under the Boost Software License, Version 1.0.
3
//(See accompanying file LICENSE or copy at
4
//https://www.boost.org/LICENSE_1_0.txt)
5
//Official repository: https://github.com/fgoujeon/maki
6
7
#ifndef MAKI_PATH_HPP
8
#define MAKI_PATH_HPP
9
10
#include "detail/impl.hpp"
11
#include <string>
12
13
namespace
maki
14
{
15
22
template
<
class
Impl>
23
class
path
24
{
25
public
:
26
#ifndef MAKI_DETAIL_DOXYGEN
27
constexpr
path
(
const
Impl& impl):
28
impl_(impl)
29
{
30
}
31
#endif
32
41
[[nodiscard]] std::string
to_string
()
const
42
{
43
return
impl_.to_string();
44
}
45
46
private
:
47
using
impl_type = Impl;
48
49
MAKI_DETAIL_FRIENDLY_IMPL
50
};
51
52
}
//namespace
53
54
#endif
maki::path
Encodes a path to a state or region.
Definition
path.hpp:24
maki::path::to_string
std::string to_string() const
Returns a textual representation of the path.
Definition
path.hpp:41
maki
The Maki library.
maki
path.hpp
Generated by
1.13.2