Skip to content

Conversation

@eisenwave
Copy link
Member

Related to #5641.

In short, the C++ standard doesn't have a clearly-defined notion of "compile-time" or "run-time".

Instead of specifying that these type aliases have "compile-time complexity" (whatever that's supposed to mean) we can just leave the cell empty. No evaluation takes place here, so it's meaningless to talk about complexity.

@eisenwave eisenwave changed the title Compile time complexity [rand.req.seedeq], [rand.req.dist], [char.traits.require] Eliminate "comple-time" complexity Mar 1, 2024
@eisenwave eisenwave changed the title [rand.req.seedeq], [rand.req.dist], [char.traits.require] Eliminate "comple-time" complexity [rand.req.seedeq], [rand.req.dist], [char.traits.require] Eliminate "compile-time" complexity Mar 1, 2024
@tkoeppe
Copy link
Contributor

tkoeppe commented Jul 31, 2024

@jwakely, @jensmaurer: I'm sympathetic to improving this, but can we do better than just deleting "compile-time"? Can we maybe say something along the lines of something being constant-evaluated?

@jensmaurer
Copy link
Member

@tkoeppe, these are typedefs. There is no evaluation going on at all, not even constant evaluation. We should just merge this.

@jensmaurer
Copy link
Member

jensmaurer commented Jul 31, 2024

Suggest to improve commit descriptions to say "... for typedefs"

@tkoeppe
Copy link
Contributor

tkoeppe commented Jul 31, 2024

OK, makes sense. @eisenwave Could you please update the commit messages? Also please just say "remove" instead of the overly lyrical "eliminate".

@eisenwave
Copy link
Member Author

I'm on vacation. If it's not urgent, I can do it in two weeks when I'm back.

@tkoeppe
Copy link
Contributor

tkoeppe commented Oct 16, 2024

@eisenwave Ping 🌴

@eisenwave eisenwave force-pushed the compile-time-complexity branch from ad0f50d to 2bd2de7 Compare October 20, 2024 07:02
@tkoeppe tkoeppe merged commit c9155b2 into cplusplus:main Nov 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants