piranha  0.10
Public Member Functions | List of all members
piranha::boost_load_impl< Archive, boost_s11n_key_wrapper< divisor< T > >, divisor_boost_load_enabler< Archive, T > > Struct Template Reference

Specialisation of piranha::boost_load() for piranha::divisor. More...

#include <piranha/divisor.hpp>

Inheritance diagram for piranha::boost_load_impl< Archive, boost_s11n_key_wrapper< divisor< T > >, divisor_boost_load_enabler< Archive, T > >:
Inheritance graph
[legend]
Collaboration diagram for piranha::boost_load_impl< Archive, boost_s11n_key_wrapper< divisor< T > >, divisor_boost_load_enabler< Archive, T > >:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

template<typename Archive, typename T>
struct piranha::boost_load_impl< Archive, boost_s11n_key_wrapper< divisor< T > >, divisor_boost_load_enabler< Archive, T > >

Specialisation of piranha::boost_load() for piranha::divisor.

Note
This specialisation is enabled only if piranha::divisor::container_type satisfies piranha::has_boost_load.

The basic exception safety guarantee is provided.

Exceptions
std::invalid_argumentif the symbol set is not compatible with the loaded divisor or if the loaded divisor fails internal consistency checks.
unspecifiedany exception thrown by piranha::boost_load().

Definition at line 1133 of file divisor.hpp.

Member Function Documentation

◆ operator()()

void piranha::boost_load_via_boost_api< Archive, boost_s11n_key_wrapper< divisor< T > > >::operator() ( Archive &  ar,
boost_s11n_key_wrapper< divisor< T > > &  x 
) const
inlineinherited

Call operator.

The body of this operator is equivalent to:

ar >> x;

That is, the content of ar will loaded into x using the stream extraction 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 source archive.
xthe object into which the content of ar will be deserialized.
Exceptions
unspecifiedany exception thrown by the extraction of ar into x.

Definition at line 379 of file s11n.hpp.


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