Loading...
Searching...
No Matches
q3::BerkeleyGWExchangeCorrelationFile Class Reference

#include <exchange_correlation.hpp>

Public Member Functions

 BerkeleyGWExchangeCorrelationFile (const MeanFieldRecord &&)=delete
 
 BerkeleyGWExchangeCorrelationFile (const MeanFieldRecord &record)
 
void write_to_file (const std::string &file_path) const
 

Detailed Description

Definition at line 139 of file exchange_correlation.hpp.

Constructor & Destructor Documentation

◆ BerkeleyGWExchangeCorrelationFile() [1/2]

q3::BerkeleyGWExchangeCorrelationFile::BerkeleyGWExchangeCorrelationFile ( const MeanFieldRecord &  record)
inlineexplicit

Definition at line 141 of file exchange_correlation.hpp.

◆ BerkeleyGWExchangeCorrelationFile() [2/2]

q3::BerkeleyGWExchangeCorrelationFile::BerkeleyGWExchangeCorrelationFile ( const MeanFieldRecord &&  )
explicitdelete

These writers keep a reference to the record, so binding one to a temporary would dangle the moment the full expression ends. Deleting the rvalue overload turns that into a compile error instead of a silent read of freed memory – callers must keep the record alive themselves, which every real call site already does.

Member Function Documentation

◆ write_to_file()


The documentation for this class was generated from the following file: