denchat

Results 15 issues of denchat

This compiles ``` auto out = std::ranges::views::iota(1,6) | std::ranges::views::transform([](auto n){ return to_string(n); }) | std::ranges::views::join | ranges::to; ``` [[LIVE](https://compiler-explorer.com/z/4f3hdMz98)] This does not ``` auto out2 = ranges::views::iota(1,6) | ranges::views::transform([](auto n){...

If not, with current specs, is it possible to implement one? I wonder wheter it should return a range of range of item references or return a range of each...

enhancement

According to this thread > _Visual Studio 2019 compilation issue_ > https://developercommunity.visualstudio.com/content/problem/525532/visual-studio-2019-compilation-issue.html I got the same errors when compile tests.

I tried this ``` -DCURL_STATICLIB=1 -DCURL_LIBRARY="C:/Program Files/curl/lib/libcurl.a" ``` but failed... ``` lld-link: error: undefined symbol: __declspec(dllimport) curl_easy_setopt >>> referenced by CMakeFiles\tz.dir\src\tz.cpp.obj:(class std::basic_string __cdecl date::remote_version(void)) ```

`-Wextra` triggers `-Wmissing-field-initializers` that complains the rest of fields missing. This also could better be resolved with the designated initialization feature of c++20. Perhaps __cplusplus >= 202010L ?

I'm a user of HeidiSQL project (which depends on `SynRegExpr`). I found that I can not replace changing case with regex in HeidiSQL. I googled for `TRegExpr` and found out...

question

I have python 3.6 installed with jupyter ``` conda install jupyter ``` Then I tried to update from python 3.6 to 3.7 ``` conda update python ``` It seem successful...

issue: operator== symbol get duplicated on linking phase when compile with `-static-libstdc++` on clang target `x86_64-w64-windows-gnu` workaround: by conditioning `__clang__` with always inline attribute as seen in Issues when building...

My clang-msvc build has a linking issue on `format-test.exe` : ``` [44/60] Linking CXX executable bin\format-test.exe FAILED: bin/format-test.exe cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=test\CMakeFiles\format-test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe --mt=C:\PROGRA~1\LLVM\bin\llvm-mt.exe...

Without `-DFMT_HEADER_ONLY` , this statement ``` fmt::printf("%.*f\n", 15, pi); ``` makes the linking fails in both `clang` v14 and `gcc` v12 [[LIVE](https://compiler-explorer.com/z/MEn4MPq7a)] In `clang-cl` v14, `lld-link` fails as below. ```...