12 lines
195 B
C++
12 lines
195 B
C++
|
#include "reflection.h"
|
||
|
|
||
|
namespace meta {
|
||
|
std::atomic<int> next_type_id{0};
|
||
|
|
||
|
void
|
||
|
NoOp(void *)
|
||
|
{}
|
||
|
|
||
|
Object::Object() : id_(GetTypeId<void>()), data_(nullptr), deleter_(NoOp) {}
|
||
|
}// namespace meta
|