fork(1) download
  1. #include <string>
  2. #include <vector>
  3.  
  4. template <typename String, template<class> class Allocator>
  5. class basic_data_object
  6. {
  7. template<typename T>
  8. using array_container = std::vector<T, Allocator<T>>;
  9. };
  10.  
  11. template <typename String, template<class> class Allocator, typename T>
  12. struct get_data_object_value
  13. {
  14. };
  15.  
  16. template <typename String, template<class> class Allocator, typename T>
  17. struct get_data_object_value
  18. <String, Allocator,
  19. typename basic_data_object<String, Allocator>::template array_container<T>>
  20. {
  21. };
  22.  
  23. int main()
  24. {
  25. get_data_object_value<std::string,std::allocator,std::vector<short>> obj;
  26. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty