mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
OutputBinding initial implementation
This commit is contained in:
@@ -33,14 +33,10 @@ struct MyType {};
|
||||
|
||||
CEREAL_BIND_TO_ARCHIVES(MyType);
|
||||
|
||||
template <class T>
|
||||
void nop(T&&t) {}
|
||||
template <class T> void nop(T&&t) {}
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
cereal::detail::StaticObject<
|
||||
cereal::detail::BindingMap<cereal::BinaryOutputArchive>
|
||||
>::getInstance().map[std::type_index(typeid(MyType))](0, 0);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user