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.
 
 
 

42 lines
627 B

  1. #pragma once
  2. #include <cppmp/config.h>
  3. #include "types.h"
  4. namespace cppmp
  5. {
  6. /**
  7. * @brief True boolean constant value.
  8. */
  9. constexpr true_t true_c;
  10. /**
  11. * @brief False boolean constant value.
  12. */
  13. constexpr false_t false_c;
  14. /**
  15. * @brief Zero size constant value,
  16. */
  17. constexpr zero_t zero_c;
  18. #ifdef cppmp_supports_variable_templates
  19. /**
  20. * @brief Boolean constant value.
  21. */
  22. template<bool B>
  23. constexpr bool_t<B> bool_c;
  24. /**
  25. * @brief Size constant value.
  26. */
  27. template<std::size_t I>
  28. constexpr size_t<I> size_c;
  29. #endif
  30. }