Skip to content

Commit 8b9e6ca

Browse files
committed
Spell check
1 parent 3b280d9 commit 8b9e6ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/modules/object-model/constructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ A student should be able to:
8383
4. Demonstrate and explain safe memory handling using shared or unique pointers
8484
5. Define what RAII is, the role of the constructor in it; and the relationship with its destructor
8585
6. Use the explicit keyword to prevent accidental type conversion from a single argument, see [C.46](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-explicit)
86-
7. Initialze data members with default values outside of the constructor and explain the benefit of why, see [C.48](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-explicit)
86+
7. Initialize data members with default values outside of the constructor and explain the benefit of why, see [C.48](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-explicit)
8787

8888
#### Caveats
8989

@@ -104,7 +104,7 @@ _These are important topics that are not expected to be covered but provide
104104
guidance where one can continue to investigate this topic in more depth._
105105

106106
* Initialization requirements of data members not explicitly initialized via the initializer-list or NSDMIs, including references and non-trivial types
107-
* Exceptions thrown in constructor, see [Execption handling](../error-handling/exception-handling.md)
107+
* Exceptions thrown in constructor, see [Exception handling](../error-handling/exception-handling.md)
108108
* Protected constructor prevents direct construction
109109
* Constructors for classes with static members must be defined outside of the body of the class
110110
* Non-static data member can be given a default value at initialization, but constructor take precedence

0 commit comments

Comments
 (0)