Core/Serialization: Add type tag parameters
This commit is contained in:
@@ -81,8 +81,8 @@ namespace Nz
|
||||
typedef Sphere<double> Sphered;
|
||||
typedef Sphere<float> Spheref;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Sphere<T>& sphere);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Sphere<T>* sphere);
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Sphere<T>& sphere, TypeTag<Sphere<T>>);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Sphere<T>* sphere, TypeTag<Sphere<T>>);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user