Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::fmt_internal::HintFmt Struct Reference

#include <fmt.hh>

Public Member Functions

template<typename... Args>
 HintFmt (boost::format &&fmt, const Args &... args)
template<class T>
HintFmt & operator% (const T &value)
template<class T>
HintFmt & operator% (const Uncolored< T > &value)
boost::format into_format ()
template<>
fmt_internal::HintFmtoperator% (const ValuePrinter &value)
template<>
fmt_internal::HintFmtoperator% (const ValuePrinter &value)

Public Attributes

boost::format fmt

Detailed Description

Helper class for HintFmt that supports the evil operator%.

See: https://git.lix.systems/lix-project/lix/issues/178

Member Function Documentation

◆ operator%()

template<>
fmt_internal::HintFmt & nix::fmt_internal::HintFmt::operator% ( const ValuePrinter & value)

ValuePrinter does its own ANSI formatting, so we don't color it magenta.


The documentation for this struct was generated from the following files: