TRIQS/h5 1.3.0
C++ interface to HDF5
|
#include "../format.hpp"
#include "../generic.hpp"
#include "../group.hpp"
#include "./string.hpp"
#include <stdexcept>
#include <string>
#include <variant>
Provides functions to read/write std::variant object from/to HDF5.
Definition in file variant.hpp.
Go to the source code of this file.
Classes | |
struct | h5::hdf5_format_impl< std::variant< T... > > |
Specialization of h5::hdf5_format_impl for std::variant. More... | |
Functions | |
template<typename... Ts> | |
void | h5::h5_read (group g, std::string const &name, std::variant< Ts... > &v) |
Read a std::variant from an HDF5 dataset. | |
template<typename... Ts> | |
void | h5::h5_write (group g, std::string const &name, std::variant< Ts... > const &v) |
Write a std::variant to an HDF5 dataset/subgroup. | |