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.

26 lines
531 B

25 years ago
25 years ago
25 years ago
25 years ago
  1. // Built-in integer ring.
  2. #ifndef _CL_INTEGER_RING_H
  3. #define _CL_INTEGER_RING_H
  4. #include "cln/ring.h"
  5. #include "cln/integer_class.h"
  6. namespace cln {
  7. typedef cl_specialized_number_ring<cl_I> cl_integer_ring;
  8. extern const cl_integer_ring cl_I_ring; // math. Z
  9. extern cl_class cl_class_integer_ring;
  10. class cl_I_ring_init_helper
  11. {
  12. static int count;
  13. public:
  14. cl_I_ring_init_helper();
  15. ~cl_I_ring_init_helper();
  16. };
  17. static cl_I_ring_init_helper cl_I_ring_init_helper_instance;
  18. } // namespace cln
  19. #endif /* _CL_INTEGER_RING_H */