OSSIA
Open Scenario System for Interactive Application
numeric_domain.hpp
1 #pragma once
2 #include <ossia/detail/math.hpp>
4 
5 namespace ossia
6 {
7 
8 template <typename T>
9 struct domain_base;
10 
11 template <typename Domain>
12 struct numeric_clamp
13 {
14  const Domain& domain;
15 
16  template <typename U>
17  ossia::value operator()(bounding_mode b, U&& val) const;
18 
22  template <std::size_t N>
23  ossia::value operator()(bounding_mode b, std::array<float, N> val) const;
24 };
25 }
The value class.
Definition: value.hpp:173
Definition: git_info.h:7
bounding_mode
Address behaviors at crossing domain boundaries.
Definition: parameter_properties.hpp:56