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.
 
 
 

28 lines
710 B

  1. #pragma once
  2. namespace cpphibernate {
  3. namespace mariadb {
  4. /**
  5. * @brief Helper class to manage operations on nullable types.
  6. */
  7. template<typename T_container, typename = void>
  8. struct container_helper
  9. {
  10. using container_type = T_container;
  11. using value_type = typename container_type::value_type;
  12. /**
  13. * @brief Emplace a new dataset in the container.
  14. */
  15. template<typename... X_args>
  16. static inline value_type& emplace(container_type& container, X_args&&... args) = delete;
  17. /**
  18. * @brief Clear the whole container.
  19. */
  20. static inline void clear(container_type& container) = delete;
  21. };
  22. } }