Remove unused format::lambda.
This commit is contained in:
parent
09c6bad8bd
commit
1147dfc6fb
@ -305,22 +305,6 @@ auto concat(const ArgsT &...args) {
|
||||
return Concat<decltype(std::tie(args...))>{std::tie(args...)};
|
||||
}
|
||||
|
||||
template <class F>
|
||||
struct Lambda {
|
||||
const F &f;
|
||||
};
|
||||
|
||||
template <class F>
|
||||
StringBuilder &operator<<(StringBuilder &sb, const Lambda<F> &f) {
|
||||
f.f(sb);
|
||||
return sb;
|
||||
}
|
||||
|
||||
template <class LambdaT>
|
||||
Lambda<LambdaT> lambda(const LambdaT &lambda) {
|
||||
return Lambda<LambdaT>{lambda};
|
||||
}
|
||||
|
||||
} // namespace format
|
||||
|
||||
using format::tag;
|
||||
|
Loading…
Reference in New Issue
Block a user