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.
 
 
 

33 lines
586 B

  1. #pragma once
  2. #include <cpphibernate/config.h>
  3. namespace cpphibernate
  4. {
  5. namespace __impl
  6. {
  7. /**
  8. * @brief Tag class all modifiers are derived from.
  9. */
  10. struct tag_modifier;
  11. }
  12. /**
  13. * @brief Evaluates to true_t if the passed type is a modifier, false_t otherwise.
  14. */
  15. template<typename T>
  16. struct is_modifier;
  17. /**
  18. * @brief Is true if the passed type is a modifier, false otherwise.
  19. */
  20. template<typename T>
  21. constexpr decltype(auto) is_modifier_v = is_modifier<T>::value;
  22. }
  23. #include "modifier.inl"