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.

24 lines
456 B

25 years ago
25 years ago
25 years ago
25 years ago
  1. // Built-in null ring.
  2. #ifndef _CL_NULL_RING_H
  3. #define _CL_NULL_RING_H
  4. #include "cln/ring.h"
  5. namespace cln {
  6. class cl_null_ring : public cl_ring { public: cl_null_ring (); };
  7. extern const cl_null_ring cl_0_ring; // math. {0}
  8. class cl_0_ring_init_helper
  9. {
  10. static int count;
  11. public:
  12. cl_0_ring_init_helper();
  13. ~cl_0_ring_init_helper();
  14. };
  15. static cl_0_ring_init_helper cl_0_ring_init_helper_instance;
  16. } // namespace cln
  17. #endif /* _CL_NULL_RING_H */