TRIQS/h5 1.3.0
C++ interface to HDF5
Loading...
Searching...
No Matches
pair.hpp File Reference
#include "../format.hpp"
#include "../group.hpp"
#include "./string.hpp"
#include <string>
#include <utility>

Detailed Description

Provides functions to read/write std::pair objects from/to HDF5.

Definition in file pair.hpp.

Go to the source code of this file.

Classes

struct  h5::hdf5_format_impl< std::pair< T1, T2 > >
 Specialization of h5::hdf5_format_impl for std::pair. More...
 

Functions

template<typename T1 , typename T2 >
void h5::h5_read (group g, std::string const &name, std::pair< T1, T2 > &p)
 Read a std::pair from an HDF5 subgroup.
 
template<typename T1 , typename T2 >
void h5::h5_write (group g, std::string const &name, std::pair< T1, T2 > const &p)
 Write a std::pair to an HDF5 subgroup.