fix io sprout::string output

This commit is contained in:
bolero-MURAKAMI 2012-04-23 21:44:47 +09:00
parent be70a2e4ef
commit b2394e32c5

View file

@ -700,6 +700,16 @@ namespace sprout {
{
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