template <class ... T> std::string to_string(T... objs)
{
    std::stringstream ss;
    ar::text_oarchive oa(ss, ar::no_header);
    to_string_(oa, objs...);

    return ss.str();
}
Exemple #2
0
std::string DoubleList::get_value() const
{
    return to_string_(value_);
}
Exemple #3
0
std::string DoubleList::get_default() const
{
    return to_string_(default_);
}
template <class T, class... R> void to_string_(ar::text_oarchive& oa, const T& obj, R ... rest)
{
    oa << obj;
    to_string_(oa, rest...);
}
Exemple #5
0
inline std::string
to_string(Ts&& ... args)
{
    std::ostringstream out;
    return to_string_(out, std::forward<Ts>(args)...);
}
Exemple #6
0
std::string to_string_(std::ostringstream &out, T &&arg, Ts&&... args)
{
    out << std::move(arg);
    return to_string_(out, std::forward<Ts>(args)...);
}
Exemple #7
0
std::string Time::get_value() const
{
    return to_string_(value_);
}
Exemple #8
0
std::string Time::get_default() const
{
    return to_string_(default_);
}
Exemple #9
0
std::string DoubleRangeExt::get_value() const
{
    return to_string_(value_);
}
Exemple #10
0
std::string DoubleRangeExt::get_default() const
{
    return to_string_(default_);
}