[ 
https://issues.apache.org/jira/browse/MINIFICPP-2329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Gerlits updated MINIFICPP-2329:
--------------------------------------
    Description: 
Everything in Howard Hinnant's date library has been incorporated (either 
verbatim or in slightly changed form) in C++20, so we should be able to remove 
this dependency and use the new functions in the standard library instead.

Unfortunately, only Visual Studio has fully implemented this part of C++ 20, 
the other standard libraries are still missing {{{}std::chrono:parse(){}}}.  
This should be fixed in [gcc 14|https://gcc.gnu.org/gcc-14/changes.html] and 
[llvm 19|https://libcxx.llvm.org/ReleaseNotes.html]  – not sure about 
AppleClang.

  was:
Everything in Howard Hinnant's date library has been incorporated (either 
verbatim or in slightly changed form) in C++20, so we should be able to remove 
this dependency and use the new functions in the standard library instead.

Unfortunately, only Visual Studio has fully implemented this part of C++ 20, 
the other standard libraries are still missing {{std::chrono:parse()}}.  This 
should be fixed in [gcc 14|https://gcc.gnu.org/gcc-14/changes.html] but it's 
still not in the upcoming [llvm 19|https://libcxx.llvm.org/ReleaseNotes.html] 
release – let's hope for llvm 20.


> Replace the date library with C++20 stdlib functions
> ----------------------------------------------------
>
>                 Key: MINIFICPP-2329
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2329
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Ferenc Gerlits
>            Priority: Minor
>
> Everything in Howard Hinnant's date library has been incorporated (either 
> verbatim or in slightly changed form) in C++20, so we should be able to 
> remove this dependency and use the new functions in the standard library 
> instead.
> Unfortunately, only Visual Studio has fully implemented this part of C++ 20, 
> the other standard libraries are still missing {{{}std::chrono:parse(){}}}.  
> This should be fixed in [gcc 14|https://gcc.gnu.org/gcc-14/changes.html] and 
> [llvm 19|https://libcxx.llvm.org/ReleaseNotes.html]  – not sure about 
> AppleClang.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to