List of utility functions, classes and structs used in the library.
More...
|
concept | vcl::LoggerConcept |
| The LoggerConcept is satisfied if the type T is a valid Logger type.
|
|
List of utility functions, classes and structs used in the library.
◆ shuffle()
Shuffle the elements of a range.
- Template Parameters
-
- Parameters
-
[in] | range | Range to shuffle. |
[in] | deterministic | If true, the shuffle will be deterministic. |
◆ nullLogger
The nullLogger object is an object of type NullLogger that is used as default argument in the functions that can take as input a logger.
A typical function that could take a logger is defined as follows:
template<typename T, LoggerConcept LoggerType = NullLogger>
{
log.log("log!");
}
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
NullLogger nullLogger
The nullLogger object is an object of type NullLogger that is used as default argument in the functio...
Definition null_logger.h:125
In this way, when the user does not give a logger argument, the default will be an object of NullLogger.