5#ifndef RHYTHMGAME_ENABLESHAREDFROMBASE_H
6#define RHYTHMGAME_ENABLESHAREDFROMBASE_H
26 template<
class Derived>
29 return std::static_pointer_cast<Derived>(this->shared_from_this());
A helper class for creating a shared pointer to self.
Definition EnableSharedFromBase.h:24
auto sharedFromBase() -> std::shared_ptr< Derived >
Definition EnableSharedFromBase.h:27
Contains various helper classes and functions.
Definition Capitalize.h:9