-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add documentation for Constructor Initializer List in C++ #6052
Add documentation for Constructor Initializer List in C++ #6052
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for a second review, @ho-ssain!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did minor fixes:
- Fixed the indentations in the code snippet
- Created hyperlinks for references
- Ran the code locally and on the online compiler
Everything looks good lets merge this :)
👋 @ho-ssain 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/cpp/constructor-initializer-list Please note it may take a little while for changes to become visible. |
Description
Introduce a new entry that explains Constructor Initializer List in in C++, including their syntax, usage, and examples.
Created file-: docs/content/cpp/concepts/constructor-initializer-list/constructor-initializer-list.md
Issue Solved
Closes #5980
Type of Change
Checklist
main
branch.Issues Solved
section.