A Tcl like command language made for the Clinl kernel testing
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 

37 řádky
604 B

#pragma once
#include <stddef.h>
namespace __internals{
/* Enable_if implementation */
template<bool b, class T = void>
struct enable_if{};
template<class T>
struct enable_if<true,T>{
typedef T type;
};
/* Enable_if helper implementation */
template<bool b, class T = void>
using enable_if_t = typename enable_if<b,T>::type;
/* static_assert implementaion for comparing integers */
template<bool b, typename t = enable_if_t<b>>
class check{
};
}
namespace ksdk{
class container
{
public:
size_t size();
};
template<class T>
class typed_container : public container
{
};
}