1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
virtuell_funk_seri.cpp:65:16: note: no known conversion for argument 1 from ‘boost::archive::binary_oarchive’ to ‘main()::Archive&’
In file included from /usr/include/boost/serialization/split_member.hpp:23:0,
from virtuell_funk_seri.cpp:5:
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Audi<main()::Archive>]’:
/usr/include/boost/serialization/serialization.hpp:68:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Audi<main()::Archive>]’
/usr/include/boost/serialization/serialization.hpp:126:14: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Audi<main()::Archive>]’
/usr/include/boost/archive/detail/iserializer.hpp:188:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::binary_iarchive; T = Audi<main()::Archive>]’
/usr/include/boost/archive/detail/iserializer.hpp:120:1: required from ‘class boost::archive::detail::iserializer<boost::archive::binary_iarchive, Audi<main()::Archive> >’
/usr/include/boost/archive/detail/iserializer.hpp:369:31: required from ‘boost::archive::detail::pointer_iserializer<Archive, T>::pointer_iserializer() [with Archive = boost::archive::binary_iarchive; T = Audi<main()::Archive>]’
/usr/include/boost/serialization/singleton.hpp:100:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&) [with T = Audi<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/basic_binary_iarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_iarchive<Archive>::load_override(T&) [with T = Audi<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/binary_iarchive_impl.hpp:58:9: required from ‘void boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T&) [with T = Audi<main()::Archive>*; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits<char>]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:68:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = Audi<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:75:32: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator&(T&) [with T = Audi<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
virtuell_funk_seri.cpp:125:8: required from here
/usr/include/boost/serialization/access.hpp:116:9: error: no matching function for call to ‘Audi<main()::Archive>::serialize(boost::archive::binary_iarchive&, const unsigned int&)’
t.serialize(ar, file_version);
^
virtuell_funk_seri.cpp:83:18: note: candidate: void Audi<Archive>::serialize(Archive&, unsigned int) [with Archive = main()::Archive]
void serialize(Archive& ar, unsigned int version) {
^~~~~~~~~
virtuell_funk_seri.cpp:83:18: note: no known conversion for argument 1 from ‘boost::archive::binary_iarchive’ to ‘main()::Archive&’
In file included from /usr/include/boost/serialization/split_member.hpp:23:0,
from virtuell_funk_seri.cpp:5:
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Porsche<main()::Archive>]’:
/usr/include/boost/serialization/serialization.hpp:68:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Porsche<main()::Archive>]’
/usr/include/boost/serialization/serialization.hpp:126:14: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::binary_iarchive; T = Porsche<main()::Archive>]’
/usr/include/boost/archive/detail/iserializer.hpp:188:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::binary_iarchive; T = Porsche<main()::Archive>]’
/usr/include/boost/archive/detail/iserializer.hpp:120:1: required from ‘class boost::archive::detail::iserializer<boost::archive::binary_iarchive, Porsche<main()::Archive> >’
/usr/include/boost/archive/detail/iserializer.hpp:369:31: required from ‘boost::archive::detail::pointer_iserializer<Archive, T>::pointer_iserializer() [with Archive = boost::archive::binary_iarchive; T = Porsche<main()::Archive>]’
/usr/include/boost/serialization/singleton.hpp:100:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&) [with T = Porsche<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/basic_binary_iarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_iarchive<Archive>::load_override(T&) [with T = Porsche<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/binary_iarchive_impl.hpp:58:9: required from ‘void boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T&) [with T = Porsche<main()::Archive>*; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits<char>]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:68:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = Porsche<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:75:32: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator&(T&) [with T = Porsche<main()::Archive>*; Archive = boost::archive::binary_iarchive]’
virtuell_funk_seri.cpp:126:8: required from here
/usr/include/boost/serialization/access.hpp:116:9: error: no matching function for call to ‘Porsche<main()::Archive>::serialize(boost::archive::binary_iarchive&, const unsigned int&)’
t.serialize(ar, file_version);
^
virtuell_funk_seri.cpp:65:16: note: candidate: void Porsche<Archive>::serialize(Archive&, unsigned int) [with Archive = main()::Archive]
void serialize(Archive& ar, unsigned int version) {
^~~~~~~~~
virtuell_funk_seri.cpp:65:16: note: no known conversion for argument 1 from ‘boost::archive::binary_iarchive’ to ‘main()::Archive&’
| |