#ifndef NALL_STATIC_HPP #define NALL_STATIC_HPP namespace nall { template struct static_if { typedef T type; }; template struct static_if { typedef F type; }; template struct mp_static_if { typedef typename static_if::type type; }; template struct static_and { enum { value = false }; }; template<> struct static_and { enum { value = true }; }; template struct mp_static_and { enum { value = static_and::value }; }; template struct static_or { enum { value = false }; }; template<> struct static_or { enum { value = true }; }; template<> struct static_or { enum { value = true }; }; template<> struct static_or { enum { value = true }; }; template struct mp_static_or { enum { value = static_or::value }; }; } #endif