Sha256: 4474450c0d42c53dc1d241f188173d6e12ff9e27fedefc432ea9ad101b76ba4a
Contents?: true
Size: 354 Bytes
Versions: 17
Compression:
Stored size: 354 Bytes
Contents
#ifndef _IV_ENABLE_IF_H_ #define _IV_ENABLE_IF_H_ namespace iv { template<bool B, class T = void> struct enable_if_c { typedef T type; }; template<class T> struct enable_if_c<false, T> { // NO TYPEDEF! }; template<class Cond, class T = void> struct enable_if : public enable_if_c<Cond::value, T> { }; } // namespace iv #endif // _IV_ENABLE_IF_H_
Version data entries
17 entries across 17 versions & 1 rubygems