class CheckOpMessageBuilder

Defined at line 182 of file ../../third_party/abseil-cpp/absl/log/internal/check_op.h

A helper class for formatting `expr (V1 vs. V2)` in a `CHECK_XX` statement.

See `MakeCheckOpString` for sample usage.

Public Methods

void CheckOpMessageBuilder (const char * exprtext)

Inserts `exprtext` and ` (` to the stream.

void ~CheckOpMessageBuilder ()

Defined at line 186 of file ../../third_party/abseil-cpp/absl/log/internal/check_op.h

std::ostream & ForVar1 ()

For inserting the first variable.

Defined at line 188 of file ../../third_party/abseil-cpp/absl/log/internal/check_op.h

std::ostream & ForVar2 ()

For inserting the second variable (adds an intermediate ` vs. `).

std::string * NewString ()

Get the result (inserts the closing `)`).