forked from lix-project/lix
24 lines
387 B
C++
24 lines
387 B
C++
#pragma once
|
|
|
|
#include <ostream>
|
|
|
|
|
|
namespace nix {
|
|
|
|
/**
|
|
* Print an `«... elided»` placeholder.
|
|
*
|
|
* Arguments are forwarded to `pluralize`.
|
|
*
|
|
* If `ansiColors` is set, the output will be wrapped in `ANSI_FAINT`.
|
|
*/
|
|
void printElided(
|
|
std::ostream & output,
|
|
unsigned int value,
|
|
const std::string_view single,
|
|
const std::string_view plural,
|
|
bool ansiColors
|
|
);
|
|
|
|
}
|