/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/util/Handle.cpp
31 строка
601 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#include "stdafx.h" #include "Util/Handle.h" #include "Util/Utilities.h" #include "RbxAssert.h" #include <limits> #include "boost/lexical_cast.hpp" #include "reflection/Object.h" namespace RBX { InstanceHandle::InstanceHandle(Reflection::DescribedBase* target) :target(shared_from(target)) { } bool InstanceHandle::operatorLess(const InstanceHandle& other) const { return target < other.target; } bool InstanceHandle::empty() const { return !target; } void InstanceHandle::linkTo(shared_ptr<Reflection::DescribedBase> target) { this->target = target; } } // end namespace RBX