template<typename A1, typename A2, typename A3, typename A4, typename A5>
inline std::string format(const std::string &f, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5)
{ return Formatter(f)(a1)(a2)(a3)(a4)(a5).str(); }
template<typename A1, typename A2, typename A3, typename A4, typename A5>
inline std::string format(const std::string &f, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5)
{ return Formatter(f)(a1)(a2)(a3)(a4)(a5).str(); }