mlpack
Classes | Namespaces | Functions
is_loading.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_loading.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< Archive >
 

Namespaces

 cereal
 Add an external serialization function for SpMat.
 

Functions

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

Detailed Description

Author
Ryan Curtin

Implementation of is_loading function.

This implementation provides backward compatibilty with older version of cereal that does not have Archive::is_loading 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.