reflect safe
This commit is contained in:
parent
3917a8d6a0
commit
fd4fc4f0cb
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <fc/exception/exception.hpp>
|
#include <fc/exception/exception.hpp>
|
||||||
|
#include <fc/reflect/reflect.hpp>
|
||||||
|
|
||||||
namespace fc {
|
namespace fc {
|
||||||
|
|
||||||
|
|
@ -62,3 +63,5 @@ namespace fc {
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FC_REFLECT_TEMPLATE( (typename T), safe<T>, (value) )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue