Commit a7ae5666 authored by Victor Zverovich's avatar Victor Zverovich

Enable join on msvc

parent 24d249b0
......@@ -140,6 +140,10 @@
# endif
#endif
#if FMT_HAS_GXX_CXX11 || FMT_MSC_VER >= 1600
# define FMT_USE_TRAILING_RETURN 1
#endif
// __builtin_clz is broken in clang with Microsoft CodeGen:
// https://github.com/fmtlib/fmt/issues/519
#ifndef _MSC_VER
......@@ -3221,7 +3225,7 @@ arg_join<It, wchar_t> join(It begin, It end, wstring_view sep) {
return arg_join<It, wchar_t>(begin, end, sep);
}
#if FMT_HAS_GXX_CXX11
#if FMT_USE_TRAILING_RETURN
template <typename Range>
auto join(const Range &range, string_view sep)
-> arg_join<decltype(std::begin(range)), char> {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment