Function ScopedMessage

Summary

#include <include/internal/catch_message.h>

(1) explicit ScopedMessage(MessageBuilder const &builder)

(2) ScopedMessage(ScopedMessage &duplicate)=delete

(3) ScopedMessage(ScopedMessage &&old)

Function overload

Synopsis

#include <include/internal/catch_message.h>

explicit ScopedMessage(MessageBuilder const &builder)

Description

No description yet.

Source

Lines 50-55 in include/internal/catch_message.cpp. Line 66 in include/internal/catch_message.h.

ScopedMessage::ScopedMessage( MessageBuilder const& builder )
: m_info( builder.m_info ), m_moved()
{
    m_info.message = builder.m_stream.str();
    getResultCapture().pushScopedMessage( m_info );
}

Synopsis

#include <include/internal/catch_message.h>

ScopedMessage(ScopedMessage &duplicate)=delete

Description

No description yet.

Source

Line 67 in include/internal/catch_message.h.

Synopsis

#include <include/internal/catch_message.h>

ScopedMessage(ScopedMessage &&old)

Description

No description yet.

Source

Lines 57-61 in include/internal/catch_message.cpp. Line 68 in include/internal/catch_message.h.

ScopedMessage::ScopedMessage( ScopedMessage&& old )
: m_info( old.m_info ), m_moved()
{
    old.m_moved = true;
}





Add Discussion as Guest

Log in