123456789101112131415161718 |
- #include <cxxomfort/base.hpp>
- #include <cxxomfort/cstddef.hpp>
- #include <cxxomfort/type_traits.hpp> // is_lvalue_reference
- #include <iostream>
- int main () {
- using namespace std;
- enum {
- test1 = std::is_arithmetic<float>::value ,
- test2 = std::is_compound<ostream>::value ,
- test3 = std::is_convertible<float,int>::value ,
- fin
- };
- static_assert (test1, "test1");
- }
|