'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class template is_iarchive

odtone::mih::is_iarchive

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/archive.hpp>

template<typename T> 
class is_iarchive {
public:
  // member classes/structs/unions

  class false_t {
  };

  // private static functions
  template<typename U> static true_t test(typename U::iarchive_type * = 0);
  template<typename U> static false_t test(...);

  // public data members
  static const bool value;
};

Description

This class allows to check if a given class is an input archive. It has only a boolean value that is true when the given class is an input archive, or false otherwise.

is_iarchive private static functions

  1. template<typename U> static true_t test(typename U::iarchive_type * = 0);
  2. template<typename U> static false_t test(...);

PrevUpHomeNext