3#include "terminalpp/graphics.hpp" 
    5#include <boost/container_hash/hash.hpp> 
   49        boost::hash_combine(
seed, 
eff.value_);
 
 
 
   67  : std::integral_constant<
 
   68        terminalpp::graphics::intensity,
 
   69        terminalpp::graphics::intensity::normal>
 
 
   78  : std::integral_constant<
 
   79        terminalpp::graphics::underlining,
 
   80        terminalpp::graphics::underlining::not_underlined>
 
 
   89  : std::integral_constant<
 
   90        terminalpp::graphics::polarity,
 
   91        terminalpp::graphics::polarity::positive>
 
 
  100  : std::integral_constant<
 
  101        terminalpp::graphics::blinking,
 
  102        terminalpp::graphics::blinking::steady>
 
 
  111template <
typename EffectType>
 
  118  : std::bool_constant<true>
 
 
  154template <
class Effect>
 
  155struct hash<terminalpp::effect<Effect>>
 
  158    using result_type = std::size_t;
 
  160    [[nodiscard]] result_type operator()(
 
  163        return hash_value(effect);
 
 
A traits class for which value of an effect is the "default" one.
Definition effect.hpp:16
 
Definition effect.hpp:113
 
A structure representing an ANSI graphics effect (e.g. intensity, underlining)
Definition effect.hpp:27
 
friend std::size_t hash_value(effect const &eff) noexcept
Hash function.
Definition effect.hpp:46
 
constexpr effect() noexcept
Initialises the intensity to the default (normal) value.
Definition effect.hpp:31
 
constexpr friend auto operator<=>(effect const &lhs, effect const &rhs) noexcept=default
Relational operators for effects.
 
constexpr effect(Type value) noexcept
Initialises the effect to the given value.
Definition effect.hpp:38