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 line
627 B

  1. #pragma once
  2. namespace cpphibernate {
  3. namespace mariadb {
  4. /**
  5. * @brief Vector of tables.
  6. */
  7. struct tables_t
  8. : public std::vector<table_ptr_u>
  9. {
  10. using base_type = std::vector<table_ptr_u>;
  11. using base_type::base_type;
  12. };
  13. namespace __impl
  14. {
  15. /**
  16. * @brief Helper class to create table vector.
  17. */
  18. template<typename X, typename = void>
  19. struct tables_builder;
  20. }
  21. /**
  22. * @brief Predicate to create table vector.
  23. */
  24. constexpr decltype(auto) make_tables = mp::generic_predicate<__impl::tables_builder> { };
  25. } }