stlab.adobe.com Adobe Systems Incorporated

clamp.hpp File Reference

#include <cassert>
#include <adobe/algorithm/select.hpp>
#include <adobe/functional.hpp>

Go to the source code of this file.

Namespaces

namespace  adobe

Functions

template<typename T , typename R >
const T & clamp (const T &x, const T &min, const T &max, R r)
template<typename T >
const T & clamp (const T &x, const T &min, const T &max)
template<typename T , typename R >
const T & clamp_unordered (const T &x, const T &min, const T &max, R r)
template<typename T >
const T & clamp_unordered (const T &x, const T &min, const T &max)

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google