RCF_BEGIN(I_Test, "I_Test")
RCF_METHOD_V0(void, read )
RCF_END(I_Test)
class Test_Impl
{
public:
void read()
{
Test obj("something stupid");
std::ifstream in(gArchiveFilename.c_str());
IArchive archive(in);
archive>>obj;
}
};
class Test
{
public:
Test() : name("kobold") {}
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & name;
}
std::string name;
};
int main()
{
Test_Impl tt;
tt.read(); //->works fine
..
client.read(); //->exception "no bytes in buffer"
}
What steps will reproduce the problem?
1. download attached file (complete example for debugging)
2. compile
3. run :D
What is the expected output? What do you see instead?
exception at remote call
What version of the product are you using? On what operating system?
0.9c/d, WinXP 64, boost1.34.1/1.35.0
Original issue reported on code.google.com by SirAnnTh...@googlemail.com on 26 Sep 2008 at 5:56
Original issue reported on code.google.com by
SirAnnTh...@googlemail.com
on 26 Sep 2008 at 5:56Attachments: