Vcsn
2.3
Be Rational
Main Page
Namespaces
Classes
Files
File List
File Members
to-string.hh
Go to the documentation of this file.
1
#pragma once
2
3
#include <sstream>
4
#include <string>
5
6
#include <
vcsn/misc/export.hh
>
// LIBVCSN_API
7
8
namespace
vcsn
LIBVCSN_API
9
{
11
template
<
typename
ValueSet,
typename
Value =
typename
ValueSet::value_t,
12
typename
... Args>
13
auto
14
to_string
(
const
ValueSet& vs,
const
Value&
v
, Args&&... args)
15
-> std::string
16
{
17
std::ostringstream o;
18
vs.print(
v
, o, std::forward<Args>(args)...);
19
return
o.str();
20
}
21
}
vcsn::v
return v
Definition:
multiply.hh:361
export.hh
vcsn
Definition:
a-star.hh:8
LIBVCSN_API
#define LIBVCSN_API
Definition:
export.hh:8
vcsn::to_string
std::string to_string(direction d)
Conversion to string.
Definition:
direction.cc:7
vcsn
misc
to-string.hh
Generated by
1.8.10