mlpack
Classes | Namespaces | Functions
is_saving.hpp File Reference
#include <cereal/archives/binary.hpp>
#include <cereal/archives/portable_binary.hpp>
#include <cereal/archives/xml.hpp>
#include <cereal/archives/json.hpp>
Include dependency graph for is_saving.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cereal::is_cereal_archive_saving< Archive >
 

Namespaces

 cereal
 Add an external serialization function for SpMat.
 

Functions

template<typename Archive >
bool cereal::is_saving (const typename std::enable_if< is_cereal_archive_saving< Archive >::value, Archive >::type *=0)
 
template<typename Archive >
bool cereal::is_saving (const typename std::enable_if< !is_cereal_archive_saving< Archive >::value, Archive >::type *=0)
 

Detailed Description

Author
Ryan Curtin
Omar Shrit

Implementation of is_saving function.

This implementation provides backward compatibilty with older version of cereal that does not have Archive::is_saving struct.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.