Re: [boost] Serialization. Pointer to constant object.

14 Apr
2004
14 Apr
'04
6:39 a.m.
Alexey Nikitin wrote: ...
void f3(A const* a, text_oarchive& oa) { oa << a; }
Why compiled function f1 and f2 but not f3 ?
Good point. I have a fix - but it won't work for compilers that don't support Partial Template Specialization. I haven't been able to find a more general fix. Robert Ramey

14 Apr
14 Apr
7:50 a.m.
New subject: Serialization. Pointer to constant object.
Robert Ramey wrote: ...
void f3(A const* a, text_oarchive& oa) { oa << a; }
Why compiled function f1 and f2 but not f3 ?
Good point. I have a fix - but it won't work for compilers that don't support Partial Template Specialization.
I am use VC7.1 and such fix will helps to me. Regards, Alexey.
7732
Age (days ago)
7732
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexey Nikitin
-
Robert Ramey