piranha  0.10
Public Member Functions | List of all members
piranha::boost_save_impl< Archive, boost_s11n_key_wrapper< monomial< T, S > >, monomial_boost_save_enabler< Archive, T, S > > Struct Template Reference

Specialisation of piranha::boost_save() for piranha::monomial. More...

#include <piranha/monomial.hpp>

Inheritance diagram for piranha::boost_save_impl< Archive, boost_s11n_key_wrapper< monomial< T, S > >, monomial_boost_save_enabler< Archive, T, S > >:
Inheritance graph
[legend]
Collaboration diagram for piranha::boost_save_impl< Archive, boost_s11n_key_wrapper< monomial< T, S > >, monomial_boost_save_enabler< Archive, T, S > >:
Collaboration graph
[legend]

Public Member Functions

void operator() (Archive &ar, const boost_s11n_key_wrapper< monomial< T, S > > &x) const
 Call operator. More...
 

Detailed Description

template<typename Archive, typename T, typename S>
struct piranha::boost_save_impl< Archive, boost_s11n_key_wrapper< monomial< T, S > >, monomial_boost_save_enabler< Archive, T, S > >

Specialisation of piranha::boost_save() for piranha::monomial.

Note
This specialisation is enabled only if piranha::monomial::container_type satisfies piranha::has_boost_save.
Exceptions
std::invalid_argumentif the size of the monomial differs from the size of the piranha::symbol_fset.
unspecifiedany exception thrown by piranha::bost_save() or by the public interface of piranha::boost_s11n_key_wrapper.

Definition at line 1303 of file monomial.hpp.

Member Function Documentation

◆ operator()()

void piranha::boost_save_via_boost_api< Archive, boost_s11n_key_wrapper< monomial< T, S > > >::operator() ( Archive &  ar,
const boost_s11n_key_wrapper< monomial< T, S > > &  x 
) const
inlineinherited

Call operator.

The body of this operator is equivalent to:

ar << x;

That is, x will be inserted into the archive ar using the stream insertion operator. In order for this method to be callable, the type T must provide valid overloads of the methods/functions needed by the Boost serialization API.

Parameters
arthe archive into which x will be serialized.
xthe serialization argument.
Exceptions
unspecifiedany exception thrown by the insertion of x into ar.

Definition at line 233 of file s11n.hpp.


The documentation for this struct was generated from the following file: