A Tcl like command language made for the Clinl kernel testing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

37 rivejä
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
{
};
}