| 293 | |
| 294 | |
| 295 | int main() |
| 296 | { |
| 297 | bool passed = true; |
| 298 | |
| 299 | /* |
| 300 | bool T, bool ConstT, bool TRef, bool ConstTRef, bool TPtr, |
| 301 | bool ConstTPtr, bool TPtrConst, bool ConstTPtrConst, bool SharedPtrT, bool SharedConstPtrT, |
| 302 | bool ConstSharedPtrT, bool ConstSharedConstPtrT, bool ConstSharedPtrTRef, bool ConstSharedPtrTConstRef, bool WrappedRef, |
| 303 | bool WrappedConstRef, bool ConstWrappedRef, bool ConstWrappedConstRef, bool ConstWrappedRefRef, bool ConstWrappedConstRefRef, |
| 304 | bool Number, bool ConstNumber, bool ConstNumberRef |
| 305 | */ |
| 306 | |
| 307 | passed &= built_in_type_test<int>(5, true); |
| 308 | passed &= built_in_type_test<double>(1.1, true); |
| 309 | passed &= built_in_type_test<char>('a', true); |
| 310 | passed &= built_in_type_test<uint8_t>('a', true); |
| 311 | passed &= built_in_type_test<int64_t>('a', true); |
| 312 | passed &= built_in_type_test<bool>(false, false); |
| 313 | passed &= built_in_type_test<std::string>("Hello World", false); |
| 314 | |
| 315 | // storing a pointer |
| 316 | passed &= pointer_test<int>(1, 0); |
| 317 | |
| 318 | if (passed) |
| 319 | { |
| 320 | return EXIT_SUCCESS; |
| 321 | } else { |
| 322 | return EXIT_FAILURE; |
| 323 | } |
| 324 | |
| 325 | } |
nothing calls this directly
no outgoing calls
no test coverage detected