Boost logo

Boost Users :

From: Hughes, James (jhughes_at_[hidden])
Date: 2007-05-24 07:18:15


Hello all (but probably mostly Robert)

I have a class in a library which has a serialise function. It's defined
in the header but implemented in the cpp file.

However, I am getting an unresolved error, because when the library is
build there is no need to instantiate the serialise function, as its
only called by something using the library.

So, I have tried to explicitly instantiate the missing function in the
cpp file in the library, after the serialise implementation

    template class
LCPanel::serialize<boost::archive::xml_iarchive>(boost::archive::xml_iar
chive&, unsigned int)

However, this line gives an error

    Expected ')' before '&' token

I'm not sure where I am going wrong here as syntax appears correct (but
I am not sure of), any ideas?

James

This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.


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