template class ugcs::vsm::internal::Shared_getter<T, T>

Overview

Specialization for class which is directly derived from std::enable_shared_from_this. More…

#include <utils.h>

template <class T>
class Shared_getter<T, T>
{
public:
    // methods

    static std::shared_ptr<T> Get(T* this_ptr);
};

Detailed Documentation

Specialization for class which is directly derived from std::enable_shared_from_this.

Methods

static std::shared_ptr<T> Get(T* this_ptr)

Get shared pointer to itself.