Skip to content

Commit 0695f59

Browse files
committed
fix ellipses encoding
1 parent c06c6b2 commit 0695f59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CppCoreGuidelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4692,7 +4692,7 @@ If the state of a base class object must depend on the state of a derived part o
46924692
}
46934693
};
46944694

4695-
class D : public B { /* */ }; // some derived class
4695+
class D : public B { /* ... */ }; // some derived class
46964696

46974697
shared_ptr<D> p = D::Create<D>(); // creating a D object
46984698

@@ -7257,7 +7257,7 @@ The members of a scoped object are themselves scoped and the scoped object's con
72577257

72587258
##### Example
72597259

7260-
The following example is inefficient (because it has unnecessary allocation and deallocation), vulnerable to exception throws and returns in the part (leading to leaks), and verbose:
7260+
The following example is inefficient (because it has unnecessary allocation and deallocation), vulnerable to exception throws and returns in the `...` part (leading to leaks), and verbose:
72617261

72627262
void some_function(int n)
72637263
{
@@ -15676,7 +15676,7 @@ Alternatively, we will decide that no change is needed and delete the entry.
1567615676
* How granular should namespaces be? All classes/functions designed to work together and released together (as defined in Sutter/Alexandrescu) or something narrower or wider?
1567715677
* Should there be inline namespaces (à la `std::literals::*_literals`)?
1567815678
* Avoid implicit conversions
15679-
* Const member functions should be thread safe aka, but I don't really change the variable, just assign it a value the first time it’s called argh
15679+
* Const member functions should be thread safe ... aka, but I don't really change the variable, just assign it a value the first time it’s called ... argh
1568015680
* Always initialize variables, use initialization lists for member variables.
1568115681
* Anyone writing a public interface which takes or returns `void*` should have their toes set on fire. That one has been a personal favorite of mine for a number of years. :)
1568215682
* Use `const`-ness wherever possible: member functions, variables and (yippee) `const_iterators`

0 commit comments

Comments
 (0)