Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rand.req.seedeq], [rand.req.dist], [char.traits.require] Eliminate "compile-time" complexity #6839

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Eisenwave
Copy link
Contributor

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
Contributor 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 🌴

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