Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <container_logging.h>
Public Member Functions | |
RangeLogger (const IteratorT &begin, const IteratorT &end, const PolicyT &policy) | |
std::string | str () const |
Friends | |
std::ostream & | operator<< (std::ostream &out, const RangeLogger &range) |
RangeLogger is a helper class for gtl::LogRange and gtl::LogContainer; do not use it directly. This object captures iterators into the argument of the LogRange and LogContainer functions, so its lifetime should be confined to a single logging statement. Objects of this type should not be assigned to local variables.
Definition at line 201 of file container_logging.h.
|
inline |
Definition at line 203 of file container_logging.h.
|
inline |
operator<< above is generally recommended. However, some situations may require a string, so a convenience str() method is provided as well.
Definition at line 215 of file container_logging.h.
|
friend |
Definition at line 207 of file container_logging.h.