|
Boost Users : |
From: Pierre Salmon (pierre.salmon_at_[hidden])
Date: 2007-06-27 03:05:04
The problem is not when I serialize class (save) but,
when I load class, How I can instanciate template class ?
Best Regards,
Pierre Salmon
> Any reason the following wouldn't work?
>
> Robert Ramey
>
> Pierre Salmon wrote:
>
>> Hi all,
>>
>> Probably answered before but I have a little problem
>> I use a template class :
>>
>> template<int N>
>> struct A {
>> // Do Something
>>
> template<class Archive>
> void serialize(Archive & ar, const unsigned version){
> ar & ...;
> }
>
>> } ;
>>
>> And I would like serialized this in binary file (with template
>> argument). Do you know a solution (with boost library or not) knowing
>> this class must have
>> a integer template argument ?
>>
>> Best Regards,
>> Pierre
>>
>> Soory for my english, it is not very good
>>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
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