OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::valid_if_btwn_policy< T, C, Min, Max > Struct Template Reference

Policy for values valid if between Min and Max. More...

#include <eagine/valid_if/between.hpp>

Public Member Functions

constexpr auto operator() (T value) const noexcept
 Indicates value validity, true if between Min and Max.
 

Detailed Description

template<typename T, typename C, C Min, C Max>
struct eagine::valid_if_btwn_policy< T, C, Min, Max >

Policy for values valid if between Min and Max.

Template Parameters
Tthe checked value type must be convertible to C.
Cthe Min and Max constant type.
Minthe minimal valid value.
Maxthe maximal valid value.

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).