is_loading.hpp File Reference
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  is_cereal_archive< Archive >
 

Namespaces

 cereal
 

Functions

template
<
typename
Archive
>
bool is_loading (const typename std::enable_if< is_cereal_archive< Archive >::value, Archive >::type *=0)
 
template
<
typename
Archive
>
bool 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.

Definition in file is_loading.hpp.