mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix io sprout::string output
This commit is contained in:
parent
be70a2e4ef
commit
b2394e32c5
1 changed files with 10 additions and 0 deletions
|
@ -700,6 +700,16 @@ namespace sprout {
|
||||||
{
|
{
|
||||||
return sprout::to_string(holder.value());
|
return sprout::to_string(holder.value());
|
||||||
}
|
}
|
||||||
|
template<
|
||||||
|
typename Elem, std::size_t N, typename T,
|
||||||
|
typename sprout::enabler_if<sprout::is_string<T>::value>::type = sprout::enabler
|
||||||
|
>
|
||||||
|
inline SPROUT_CONSTEXPR auto
|
||||||
|
eval(sprout::io::format_holder<T> const& holder)
|
||||||
|
-> decltype(holder.value())
|
||||||
|
{
|
||||||
|
return holder.value();
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// output
|
// output
|
||||||
|
|
Loading…
Reference in a new issue