A mixin that fires registered callbacks each time a class constructor runs.
Synopsis
Declared in <folly/ConstructorCallbackList.h>
template<
class T,
std::size_t MaxCallbacks = 4>
class ConstructorCallbackList;
Type Aliases
Name |
Description |
Callback invoked with a pointer to the constructed object. |
|
Fixed‐size array holding the registered callbacks. |
|
This list type. |
Member Functions
Name |
Description |
|
Construct the list and fire all registered callbacks for |
Static Member Functions
Name |
Description |
Add a callback to the static class that will fire every time someone creates a new one. |
Static Data Members
Name |
Description |
Maximum number of callbacks that can be registered. |
Created with MrDocs