FTXUI  5.0.0
C++ functional terminal UI.
ftxui::util Namespace Reference

Functions

template<class T >
constexpr const T & clamp (const T &v, const T &lo, const T &hi)
 

Function Documentation

◆ clamp()

constexpr const T& ftxui::util::clamp ( const T &  v,
const T &  lo,
const T &  hi 
)
constexpr

Definition at line 11 of file util.hpp.