No-op value checker.  
 More...
#include <CheckedValue.hpp>
 | 
| constexpr auto  | operator() () noexcept -> decltype(T()) | 
|   | Valid value supplying functor.  More...
  | 
|   | 
| constexpr auto  | operator() (T v) noexcept -> decltype(T(v)) | 
|   | Value checking functor.  More...
  | 
|   | 
template<typename T>
struct playrho::NoOpChecker< T >
No-op value checker. 
Provides functors ensuring values are the value given. 
- Template Parameters
 - 
  
    | T | Value type to check (or pass-through in this case).  | 
  
   
- Note
 - This is meant to be used as a checker with types like 
CheckedValue.  
- See also
 - CheckedValue. 
 
 
◆ operator()() [1/2]
Valid value supplying functor. 
- Returns
 - Default initialized value of the type. 
 
 
 
◆ operator()() [2/2]
Value checking functor. 
- Parameters
 - 
  
    | v | Value to check or to just pass through in this case.  | 
  
   
- Exceptions
 - 
  
    | exception_type | if given value is not valid.  | 
  
   
- Returns
 - Value given if greater-than or equal-to zero and less-than or equal-to one. 
 
 
 
The documentation for this struct was generated from the following file: