/*! * Initializing constructor */ explicit file_name_composer_adapter(formatter_type const& formatter, std::locale const& loc = std::locale()) : m_Formatter(formatter), m_FormattingStream(m_FileName) { m_FormattingStream.exceptions(std::ios_base::badbit | std::ios_base::failbit); m_FormattingStream.imbue(loc); }
/*! * Copy constructor */ file_name_composer_adapter(file_name_composer_adapter const& that) : m_Formatter(that.m_Formatter), m_FormattingStream(m_FileName) { m_FormattingStream.exceptions(std::ios_base::badbit | std::ios_base::failbit); m_FormattingStream.imbue(that.m_FormattingStream.getloc()); }
std::locale imbue(const std::locale &loc) { return mStream.imbue(loc); }