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

Version Path
iv-phonic-0.1.8 ext/include/iv/enable_if.h
iv-phonic-0.1.7 ext/include/iv/enable_if.h
iv-phonic-0.1.6 ext/include/iv/enable_if.h
iv-phonic-0.1.5 ext/include/iv/enable_if.h
iv-phonic-0.1.4 ext/include/iv/enable_if.h
iv-phonic-0.1.3 ext/include/iv/enable_if.h
iv-phonic-0.1.2 ext/include/iv/enable_if.h
iv-phonic-0.1.1 ext/include/iv/enable_if.h
iv-phonic-0.1.0 ext/include/iv/enable_if.h
iv-phonic-0.0.9 ext/include/iv/enable_if.h
iv-phonic-0.0.8 ext/include/iv/enable_if.h
iv-phonic-0.0.7 ext/include/iv/enable_if.h
iv-phonic-0.0.6 ext/include/iv/enable_if.h
iv-phonic-0.0.5 ext/include/iv/enable_if.h
iv-phonic-0.0.3 ext/include/iv/enable_if.h
iv-phonic-0.0.2 ext/include/iv/enable_if.h
iv-phonic-0.0.1 ext/include/iv/enable_if.h