Struct MessageBuilder

Synopsis

#include <include/internal/catch_message.h>

struct MessageBuilder : MessageStream

Description

No description yet.

Inheritance

Ancestors: MessageStream

Methods

MessageBuilder
operator<<

Source

Lines 50-62 in include/internal/catch_message.h.

struct MessageBuilder : MessageStream {
    MessageBuilder( StringRef const& macroName,
                    SourceLineInfo const& lineInfo,
                    ResultWas::OfType type );
    template<typename T>
    MessageBuilder& operator << ( T const& value ) {
        m_stream << value;
        return *this;
    }
    MessageInfo m_info;
};





Add Discussion as Guest

Log in