Comments (6)
Well I've started working on it anway because I have too much free time on my hands and it's a fun learning experience 🤷♂
from stl.
Is someone working on this? I think I could partially implement this.
Though isn't this partially dependant on #30?
from stl.
We haven't started working on this. Be aware that it's a major feature, one of the largest in C++20.
Yep, WG21-P1361 "Integrating <chrono>
With <format>
" links them (it's not a major dependency, as I understand it).
One of the things that we were planning to do is evaluate whether we should attempt to implement this from scratch, or incorporate an existing implementation. libc++'s implementation is in progress (according to their hopefully-accurate status page), while Howard Hinnant (the designer of chrono, and the original author of libc++) has an implementation of this feature, but we'd need to work out licensing.
from stl.
Be aware that it's a major feature, one of the largest in C++20.
That's why I said partially ;). Though having had a quick look at what libc++ has implemented so far it's not a whole lot more that I was considering on implementing.
(basically, not the clocks and I/O/formatting)
from stl.
@StephanTLavavej Quick question, when the standard says "Returns: expression" I shouldn't deviate from that at all, right?
from stl.
Actually, the Standard’s As If Rule says that you can do anything you want, as long as the observable effects are “as if” you did exactly what the Standard says. For a Returns element (or the stronger Effects: Equivalent To), you generally should do what it says verbatim (with appropriate qualification etc.), but sometimes it is faster or better to do something different. If you do something different, you should comment it and/or call it out in your commit notes.
from stl.
Related Issues (20)
- Module STD : Yet another error with crtdbg header HOT 1
- <atomic> : A standard macro is not exported when using the std module HOT 3
- <yvals.h> : Can't be used alongside the std module HOT 1
- unresolved external symbol __isa_available HOT 2
- `to_string( stacktrace )` gets stuck if first called during DLL loading HOT 3
- `<algorithm>`: `minmax_element()` crashes for NaNs HOT 1
- `.gitignore`: Support more IDEs? HOT 2
- <random>: uniform_*_distribution Not Satisfy RandomNumberDistribution Named Requirements HOT 1
- compile STL error: Problem HOT 8
- Azure PowerShell: For `New-AzGalleryImageDefinition`, `'TrustedLaunch'` and `'TrustedLaunchSupported'` aren't synonyms
- ARM64 `__popcnt` intrinsics
- `<cassert>` has no include guard HOT 2
- `<algorithm>`: `reverse_copy` is mistakenly vectorized for `pair<int&, int&>` on 32-bit targets HOT 11
- `<atomic>`: `atomic_ref<void*>` and `atomic<void*>` lack `difference_type`
- Sporadic STL-ASan-CI failures mentioning `__asan_wrap_memmove`
- GitHub migration
- Maintainer priorities
- `<yvals_core.h>`: Update `_MSVC_STL_UPDATE` to June 2024
- Unskip sized deallocation tests with clang HOT 2
- Should `std::error_code::message` respect the locale set by the user? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stl.