Boost.Logのソース読んでる


の一番したにあるこれ

#ifdef BOOST_LOG_USE_CHAR

inline fmt_format< char > format(const char* fmt)
{
    typedef fmt_format< char >::format_type format_type;
    return fmt_format< char >(format_type(fmt));
}

inline fmt_format< char > format(std::basic_string< char > const& fmt)
{
    typedef fmt_format< char >::format_type format_type;
    return fmt_format< char >(format_type(fmt));
}

#endif

#ifdef BOOST_LOG_USE_WCHAR_T

inline fmt_format< wchar_t > format(const wchar_t* fmt)
{
    typedef fmt_format< wchar_t >::format_type format_type;
    return fmt_format< wchar_t >(format_type(fmt));
}

inline fmt_format< wchar_t > format(std::basic_string< wchar_t > const& fmt)
{
    typedef fmt_format< wchar_t >::format_type format_type;
    return fmt_format< wchar_t >(format_type(fmt));
}

#endif

2回変換してる。