Skip to content

Add explicit for some constructors? #34

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

Closed
yosupo06 opened this issue Sep 13, 2020 · 0 comments
Closed

Add explicit for some constructors? #34

yosupo06 opened this issue Sep 13, 2020 · 0 comments

Comments

@yosupo06
Copy link
Collaborator

The following code works because we don't add explicit for the constructor.

segtree<...> seg = 10;

Should we add explicit for some constructors for more intuitive behaviors?

yosupo06 added a commit that referenced this issue Jan 17, 2021
yosupo06 added a commit that referenced this issue Jan 18, 2021
#34: Add explicit for some constructors
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

No branches or pull requests

1 participant