Commit dbf00473 authored by Tom Niget's avatar Tom Niget

Add is_cpp

parent b6da4171
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
namespace py_typon { namespace py_typon {
template <typename _Unused = void> template <typename _Unused = void>
struct typon__oo : referencemodel::moduletype<typon__oo<>> { struct typon__oo : referencemodel::moduletype<typon__oo<>> {
struct : referencemodel::function {
auto operator()() const {
return typon::TyBool(true);
}
} static constexpr is_cpp{};
}; };
typon__oo<> all; typon__oo<> all;
} // namespace py_typon } // namespace py_typon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment