
4 May
2010
4 May
'10
12:32 a.m.
On 3 May 2010 20:21, Chad Nelson <chad.thecomfychair@gmail.com> wrote:
Possible, yes -- but it relies on a Boost library to do so.
Not in the slightest. You can always use specialization to do it, like: template <typename T, bool S = std::numeric_limits<T>::is_specialized> struct foo { void bar() { ... no min/max ...} }; template <typename T> struct foo<T, true> { void bar() { ... has min/max ...} };