diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 223e202..c73b2c9 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20670,16 +20670,16 @@ Here is an example of the last option: class B { protected: B() { /* ... */ } - virtual void PostInitialize() // called right after construction + virtual void post_initialize() // called right after construction { /* ... */ f(); /* ... */ } // GOOD: virtual dispatch is safe public: virtual void f() = 0; template - static shared_ptr Create() // interface for creating objects + static shared_ptr create() // interface for creating objects { auto p = make_shared(); - p->PostInitialize(); + p->post_initialize(); return p; } };