LLDB mainline
|
A class that implements CRTP-based "virtual constructor" idiom. More...
#include "lldb/Utility/Cloneable.h"
Public Member Functions | |
std::shared_ptr< typename Base::TopmostBase > | Clone () const override |
A class that implements CRTP-based "virtual constructor" idiom.
Example:
To define a class derived from the Base with overridden Clone:
To define a class at the next level of inheritance with overridden Clone:
Definition at line 40 of file Cloneable.h.
|
inlineoverride |
Definition at line 44 of file Cloneable.h.
Referenced by lldb_private::OptionValueFileSpecList::Clone().