|
Boost Users : |
From: sui tam (suitam2006_at_[hidden])
Date: 2005-12-01 14:45:46
I have a class that is using a C struct, when I use the serialization code:
typdef struct A
{
template <class Archive>
void serialize( Archive & ar, )
{
ar & a1;
ar & a2;
}
type1 a1;
type2 a2;
}
I get error A.h(59): error: this declaration may not have extern "C" linkage
template<class Archive>
How can I archive this C structure which the class referenced?
---------------------------------
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Try Yahoo! Personals
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net